Shortcut
Make your own Bot.
Installation
$ gem install shortcut
Usage
At the command prompt, create a new Shortcut application:
$ shortcut new mybot
Change directory to mybot
and start the application:
$ cd mybot
$ ruby -Ilib ./bin/mybot
Ubuntu 12.04 with Unity-2D
Ubuntu has a bug related to how unity-2d draws itself on screen. To fix this issue run the following command before you run shortcut:
$ gconftool --set --type bool /apps/metacity/general/compositing_manager false
And then log out/in to apply the changes. To restore the default configuration run:
$ gconftool --set --type bool /apps/metacity/general/compositing_manager true
And again log out/in to apply the changes.
See more information about this bug.
Development
$ ruby --ng-server &
$ ruby --ng -S rspec spec
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request