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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alon G. (Guest)
on 2007-02-03 19:25

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?

Zack C. (Guest)
on 2007-02-03 20:08
(Received via mailing list)
On 2/3/07, Alon G. <removed_email_address@domain.invalid> wrote:
> thanks!
> --
> Posted via
> >

$ 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 C.
Alon G. (Guest)
on 2007-02-04 02:02
thanks Zack. That did it
This topic is locked and can not be replied to.