I am using Pow and power gem with my rails project.
Now I'm trying to update the ruby version (from 1.9.3 to 2.0.0, I use RVM)
When I switch the ruby version, I install all the gem dependencies, I am sure that the application is working fine by running rails s and visiting localhost:3000
I preview my application first by visiting http://my_app.dev using pow. After the update, this URL does not work due to the error Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0
What I tried:
- re-create application
- restart pool server
- update update server
- kill pow server
- google this error :)
This error still exists. By the way, I have another rails application that originally uses ruby 2.0 and works with pow ok.
source share