New to Ruby, question about gem

I had just installed Rails 2.1.0, or at least that’s the feedback I got
when I typed “gem install rails”

However, when I look in my gem paths I see that rails-1.2.6 is the only
directory there.

Am I missing something. Is Rails 2.1.0 stored somewhere else (gem
environment gave me two paths, I checked them both).

Sorry if this is a stupid question, I’m still finding my way around.

Thanks!

Greg A. wrote:

I had just installed Rails 2.1.0, or at least that’s the feedback I got
when I typed “gem install rails”

However, when I look in my gem paths I see that rails-1.2.6 is the only
directory there.

Am I missing something. Is Rails 2.1.0 stored somewhere else (gem
environment gave me two paths, I checked them both).

Sorry if this is a stupid question, I’m still finding my way around.

Thanks!

If you installed any previous versions of rails…
first remove completely then install latest version

if you want to remove gems
in the command line type “sudo apt-get autoremove rubygems”

Greg A. wrote:

I had just installed Rails 2.1.0, or at least that’s the feedback I got
when I typed “gem install rails”

However, when I look in my gem paths I see that rails-1.2.6 is the only
directory there.

Am I missing something. Is Rails 2.1.0 stored somewhere else (gem
environment gave me two paths, I checked them both).

Sorry if this is a stupid question, I’m still finding my way around.

Thanks!

Hi Akins,

Path : C:\ruby\lib\ruby\gems\1.8\gems

C:\Documents and Settings\raveendran>gem list | grep rails
Brightbox rails deployment scripts for Capistrano
rails (2.1.0, 1.2.3)
(like the rails command does for Ruby on Rails, and the

C:\Documents and Settings\raveendran>gem install rails # for latest
version
C:\Documents and Settings\raveendran>gem install rails -v1.1.6 # for
particular version

Regards,
P.Raveendran,
RF, Chennai,

Eric H. wrote:

What does gem list say?

OK, forgive me for this.

I’m using jruby. And I assumed that calling ‘jruby -S gems’ was the
same as just using ‘gems’

Stupid assumption.

Turns out the gems paths were different.

I was kinda hoping that I wouldn’t have to use the jruby list for
everything, thinking that in some cases asking Gems questions and Rails
questions on their dedicated forums will get me better responses.

Of course, that assumes I’m asking good questions, which in this case I
didn’t.

On Jul 31, 2008, at 18:31 PM, Greg A. wrote:

Sorry if this is a stupid question, I’m still finding my way around.

What does gem list say?