Ruby on Rails Thursday, March 29, 2012

On Thu, Mar 29, 2012 at 8:44 AM, Abram <funkdified@gmail.com> wrote:
> Right, the code below should explain everything. This is taken from
> ubuntu's console. As you can see I can't seem to update my rails
> version. Yes, I have the same problem after preceding with 'sudo' ...
> Thanks for the help !
>
> funkdified@funkdified-laptop:~/railsprojects/goodsounds$ gem install
> rails -v 3.2.3.rc1
> Successfully installed rails-3.2.3.rc1
> 1 gem installed
> Installing ri documentation for rails-3.2.3.rc1...
> Installing RDoc documentation for rails-3.2.3.rc1...
> funkdified@funkdified-laptop:~/railsprojects/goodsounds$ rails -v
> Rails 3.2.2
>
>
> I thought somehow my RVM environment might be useful somehow:
>
> ruby-1.9.3-p125-HEAD@rails323:

I cannot reproduce the problem in my set-up with ruby-1.9.3-p125. It
just works here as I would expect.

$ rvm get stable
...
rvm 1.11.3 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>,
Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]

RVM reloaded!

$ rvm --version
rvm 1.11.3 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>,
Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]

$ rvm gemset create rails_323_rc1
'rails_323_rc1' gemset created
(/home/peterv/.rvm/gems/ruby-1.9.3-p125@rails_323_rc1).

$ rvm current
ruby-1.9.3-p125@rails_3_2_3_rc1

$ gem install rails -v 3.2.3.rc1
Fetching: i18n-0.6.0.gem (100%)
...

Successfully installed rails-3.2.3.rc1
30 gems installed
peterv@vandesco-001:~/b/projects/rails$ rails --version
Rails 3.2.3.rc1
peterv@vandesco-001:~/b/projects/rails$ rails new bar
Using --skip-bundle -T -d postgresql from /home/peterv/.railsrc
create
create README.rdoc
...
create vendor/plugins/.gitkeep
peterv@vandesco-001:~/b/projects/rails$ head -3 bar/Gemfile
source 'https://rubygems.org'

gem 'rails', '3.2.3.rc1'


HTH,

Peter

>
>  system:
>    uname:       "Linux funkdified-laptop 2.6.32-37-386 #81-Ubuntu SMP
> Sat Dec 3 00:07:25 UTC 2011 i686 GNU/Linux"
>    bash:        "/bin/bash => GNU bash, version 4.1.5(1)-release
> (i486-pc-linux-gnu)"
>    zsh:         " => not installed"
>
>  rvm:
>    version:      "rvm 1.11.3 () by Wayne E. Seguin
> <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com>
> [https://rvm.beginrescueend.com/]"
>    updated:      "41 minutes 4 seconds ago"
>
>  ruby:
>    interpreter:  "ruby"
>    version:      "1.9.3p125"
>    date:         "2012-02-16"
>    platform:     "i686-linux"
>    patchlevel:   "2012-02-16 revision 34643"
>    full_version: "ruby 1.9.3p125 (2012-02-16 revision 34643) [i686-linux]"
>
>  homes:
>    gem:          "/home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323"
>    ruby:         "/home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD"
>
>  binaries:
>    ruby:         "/home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD/bin/ruby"
>    irb:          "/home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD/bin/irb"
>    gem:          "/home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD/bin/gem"
>    rake:
> "/home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@global/bin/rake"
>
>  environment:
>    PATH:
> "/home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/bin:/home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@global/bin:/home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD/bin:/home/funkdified/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
>    GEM_HOME:     "/home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323"
>    GEM_PATH:
> "/home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323:/home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@global"
>    MY_RUBY_HOME: "/home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD"
>    IRBRC:        "/home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD/.irbrc"
>    RUBYOPT:      ""
>    gemset:       "rails323"

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment