On 25 February 2011 17:37, Alex <[email protected]> wrote: > > akatebi@ubuntu:~$ gem install rails -v 3.1 > ERROR: Could not find a valid gem 'rails' (= 3.1) in any repository
Rails 3.1 hasn't been released yet, and neither has a prerelease been released. You can verify this by asking RubyGems to list the available prerelease gems: $ gem list --remote --prelease rails Bundler lets you specify a gem to be built from a Git repository, which I am guessing is what you've done. If you really want to install the latest Rails code as a gem in your system, you can check out the Rails code from GitHub and build the gem manually, then ask RubyGems to install it for you. It is worth repeating the Rails 3.1 *does not exist yet*. It has not been released. The closest you can do is to use the latest development code from the Rails repository on GitHub. Chris > > > On Feb 25, 12:05 pm, Jatin kumar <[email protected]> wrote: >> On Fri, Feb 25, 2011 at 5:03 PM, Alex Katebi <[email protected]> wrote: >> > Hi, >> >> > I am able to install rails 3.1 using the bundler. But I can not get it >> > install on my system gem. I am using rvm. >> > I want to be able to create a new app using 3.1 from my system. >> >> > To install it to your system gems, do >> >> sudo gem install rails -v 3.1 >> >> When you use sudo, it means you are making changes to your system gems. >> >> >> >> >> >> >> >> > Thanks, >> > Alex >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Ruby on Rails: Talk" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

