Archive for April 11th, 2014
It should be easy but the commands to use bundle to setup gems into a rails vendor directory for production are a little longer than expected so here goes for reference:
bundle install --without development:test --path vendor/bundle -j4 --deployment
And to test everything is working as expected:-
bundle exec rails console production
If things don’t work make sure you’ve previously not run
bundle install without a
--path, if you have clean up the gems that where installed into the system path and try again.