Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5886 posts at DZone. View Full User Profile

Update Rails

05.22.2005
Email
Views: 30741
  • submit to reddit
        
gem update rails
    

Comments

Snippets Manager replied on Wed, 2011/05/11 - 6:10pm

what i do is: sudo gem update on linux to update my ruby on rails version everytime i need. rails -v to check the ruby on rails version that you have.

Snippets Manager replied on Mon, 2012/05/07 - 2:12pm

Now that's useful. I hate hitting Y all the time :) BTW, sorry about the downtime earlier, I made a boo-boo :)

Snippets Manager replied on Mon, 2012/05/07 - 2:12pm

You should add --include-dependencies so that it doesn't ask you for each and every dependency again. Alternatively you can pipe yes into the command like this: yes | gem update rails