How can I install older version of Rails

View: New views
4 Messages — Rating Filter:   Alert me  

How can I install older version of Rails

by sangshin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I would like to install Rails 1.1.6 so that I can run
Rails application designed for that version.  Is there
a way to install it within NetBeans?  I did the
search on Ruby Gems and it is not one of them.
Thanks.

-Sang
--
---------------------------------------------------------------
              Sang Shin, sang.shin@...
        http://www.javapassion.com/SangSchedule.html#Bio
          http://www.javapassion.com/SangSchedule.html
          (Life is worth living... with Passion!)
---------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: How can I install older version of Rails

by Brian Leonard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe NetBeans is just showing you the versions installed and can  
only install the latest version of a given gem. So, on to the command  
line:

gem query -ran ^rails$

will show you all of the available version of rails.

gem install -r rails -v "= 1.1.6"

will install version 1.1.6

gem query -n ^rails$

will show you the versions you have installed.

/Brian

On May 13, 2008, at 3:51 PM, Sang Shin wrote:

>
> I would like to install Rails 1.1.6 so that I can run
> Rails application designed for that version.  Is there
> a way to install it within NetBeans?  I did the
> search on Ruby Gems and it is not one of them.
> Thanks.
>
> -Sang
> --
> ---------------------------------------------------------------
>             Sang Shin, sang.shin@...
>       http://www.javapassion.com/SangSchedule.html#Bio
>         http://www.javapassion.com/SangSchedule.html
>         (Life is worth living... with Passion!)
> ---------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>



---
Brian Leonard
Technology Evangelist
408-404-6884
http://weblogs.java.net/blog/bleonard



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: How can I install older version of Rails

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brian Leonard wrote:
> I believe NetBeans is just showing you the versions installed and can
> only install the latest version of a given gem.

This seems to me like regression. It's caused by the fact that:

   gem list -r rails

which we are using internally, shows only last version, but in the past
it used to show all available version. I'll switch IDE to use

   gem list -r -a rails

instead.

I've filed:

   http://www.netbeans.org/issues/show_bug.cgi?id=135019

Note that if you already have installed some version Rails that it is
not possible to install other versions now:

   http://www.netbeans.org/issues/show_bug.cgi?id=125287

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: How can I install older version of Rails

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Krauskopf wrote:

> Brian Leonard wrote:
>> I believe NetBeans is just showing you the versions installed and can
>> only install the latest version of a given gem.
>
> This seems to me like regression. It's caused by the fact that:
>
>   gem list -r rails
>
> which we are using internally, shows only last version, but in the past
> it used to show all available version. I'll switch IDE to use
>
>   gem list -r -a rails

Catching up on ruby.gems.devel, confirmed:

http://permalink.gmane.org/gmane.comp.lang.ruby.gems.devel/1999

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...