You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
technicalpickles edited this page Aug 19, 2010
·
1 revision
Moonshine does indeed work with Rails 3. There a few points worth mentioning:
The generator call would be rails generate moonshine instead of ruby script/generate moonshine
Gem bundler is required by Rails 3, so moonshine’s gem bundler support will be used
Rails 3 requires ruby 1.8.7, so Ruby Enterprise Edition 1.8.7 is setup by default
Rails 3 is Rack based, so Passenger’s Rack support is used. Passenger does not support it’s smart spawn mode for rack applications yet though. Contrary to some reports, removing config.ru will not allow Passenger’s Rails support to be used instead of its Rack support, because your application won’t be bootable.
If you are upgrading an application to Rails 3, and it is already deployed using moonshine, there are a couple manual things you will need to do:
Edit config/moonshine.yml to use ree187, ie :ruby: ree187
Run cap ruby:upgrade
At this point, you should be able to do your usual cap deploy