We could create a 'locomotive' gem like the 'rails' gem which has one dependency to the locomotive engine + some commands like creating a new locomotive site.
Samples:
- Runs the rails generator to create an new rails app 'foo'
- Updates the Gemfile
- Run bundle command to install / update dependencies
- run 'bundle exec rails g mongoid:config'
- run 'bundle exec rails g locomotive:install'
- run 'bundle exec rake assets:precompile'
$ locomotive new foo --sample
Same as 'locomotive new foo' + import sample site
Problems:
There already exists a gem with the name locomotive. But perhaps we could ask the author to give up the namespace, because the only version on rubygems.org is 0.0.1 from June 29, 2010.
Nice to have:
Maybe we should rename 'locomotive_cms' to 'locomotive_engine' to clear things up.
What do you think ?