Closed rschwab closed 1 year ago
The ruby version on staging is 2.7.2
on production
rvm version on staging and production can be updated, but the ruby versions used by the app on all three servers appear to be 2.7.2 @rschwab Am I missing something here?
No it was me missing something: rvm is installed not globally but per user. My bad! Thank you Sneha, I'll close this one.
Production and staging servers appear to not be set up to use the correct versions of ruby as managed by rvm. On both servers, rvm info shows the path as
/home/sufia/.rvm
but the which ruby command returns/bin/ruby
. So while rvm is installed and has been updated, the application is still using an older ruby version.Sandbox has the correct configuration: rvm info shows path as
/usr/local/rvm
which ruby shows/usr/local/rvm/rubies/ruby-2.7.2/bin/ruby