#1 By: lutvi, June 30th, 2014 22:03
I found something strange in my Heroku apps..
Actually I change Ruby Version to 2.1.2 recently and change PATH and GEM_PATH variable to 2.1.2 as well..
But when I check Papertrail Log it shows following screen :
And Here are my PATH and GEM_PATH values :
is there something I miss when I update Ruby Version, maybe there's another field need to be added?
#2 By: Richard Schneeman, June 30th, 2014 23:45
You should not set
GEM_PATH. Let the buildpack maintainers do that, it can screw up a lot of things.
Following semantic versioning 2.1.2 is technically 2.1.x. Since it doesn't look nice to have letters as place holders, we're using 2.1.0 for simplicity.
heroku run bash then
ruby -v you should be getting the version of ruby you specify.