Rails snippet: scripts

To keep my development workflow consistent I rely on scripts being present in my
projects to handle running my specs as well as starting my test server without
having to think about which project I am in. Since those scripts are ment to be
consistent across projects it only made sense to move them to a repository. So
for anybody interested they are available on github

To use simple clone to whichever folder inside your project, or add a submodule

$ git submodule add
git://github.com/sideshowcoder/rails_scripts.git
script/rails_scripts

And run via
$ scripts/rails_scripts/test
$ scripts/rails_scripts/start_dev_server

Personally I mapped a vim key to do so.

Enjoy

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s