Forum: Ruby on Rails how do I downgrade rails version?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1a161d16b292cbacee7b4563bd0c72e8?d=identicon&s=25 Alon Goldshuv (alon)
on 2007-02-03 18:25
Hello.

Rails version on my production host is 1.1.6
On my local dev box it was 0.11.x i think. Wanting to have both rails
versions identical I ran 'gem update rails' without thinking too much,
and of course that wasn't very smart as now I have rails 1.2.1 on my dev
box :-)

how do I downgrade to rails 1.1.6?

thanks!
C4dc94c893471878a105761a9207f29b?d=identicon&s=25 Zack Chandler (Guest)
on 2007-02-03 19:08
(Received via mailing list)
On 2/3/07, Alon Goldshuv <rails-mailing-list@andreas-s.net> wrote:
>
> thanks!
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

$ gem help commands

will show you your options.

You can uninstall the rails gem and dependencies of: actionmailer,
actionpack, actionwebservice, activerecord, and activesupport.

$ sudo gem uninstall <gem-name>

There might be a faster one-line but I don't know it off the top of my
head.  Then just use the version flag when installing rails 1.1.6.

$ gem help install

will show you the options.

Hope this helps.

--
Zack Chandler
http://depixelate.com
1a161d16b292cbacee7b4563bd0c72e8?d=identicon&s=25 Alon Goldshuv (alon)
on 2007-02-04 01:02
thanks Zack. That did it
This topic is locked and can not be replied to.