Hi, I tried to upgrade to ruby on rails 4.1.0 but it fails. I move into my rails app generated by webfaction installer script (ruby 2.0.0/rails4.0.4) and I run these commands:
I try to install the gems locally instead of trying to install it where I don't have permissions to. Then I run:
and I get this:
asked 21 May '14, 11:33 markzism |
You should be able to update to Rails 4.1.0 as follows: First, change to your Rails app directory:
Then set your environment variables:
You could just run "
... then edit your
... then update with bundler:
Once all of that is done, restart your app:
Hope that helps! answered 21 May '14, 18:45 seanf Thanks for that, I forgot I should use the 'gem update'. :S The strange thing is though that I still get this error:
It does not use the ruby 2.0.0 When i do 'ruby -v' it states:
(22 May '14, 07:41)
markzism
This seems to work now. I have create a new rails 4.0.4 ruby 2.0.0 application and gem updated before anything else. So I think it was some problem in the previous application. Thanks!
(22 May '14, 12:21)
markzism
See comment above!
(22 May '14, 12:21)
markzism
|