On Jan 18, 11:57 pm, Frederick Cheung <[email protected]> wrote: > On Jan 18, 10:00 pm, Ginty <[email protected]> wrote: > > > Hey, > > > I have Ruby 1.8.7 (actually REE) and 1.9.2 on my server via RVM, REE > > is set as the default Ruby. > > > All my apps are configured with Capistrano and Bundler and the 1.8.7 > > apps deploy fine, however the 1.9.2 ones do not. > > > The issue is that Bundler is apparently ignoring the .rvmrc in the app > > root that should tell it to use 1.9.2, instead the gems end up in > > shared/bundle/ruby/1.8 and can't be found when the app tries to run > > with 1.9.2. > > > I've tried changing the command being executed on the server to 'rvm > > 1.9.2 && bundle ....', however it still uses 1.8.7. > > did you try > rvm 1.9.2 exec bundle ... > > Fred
Yep that works like a charm, nice one Fred, thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

