# Installing 1.x rails trough gem?

**URL:** <https://www.ruby-forum.com/t/installing-1-x-rails-trough-gem/127346>\
**Category:** Ruby\
**Created:** [January 28, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/installing-1-x-rails-trough-gem/127346 "2008-01-28T14:45:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjelika](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba8739/32.png) [@anjelika](https://www.ruby-forum.com/u/anjelika)\
**Post date:** [January 28, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/installing-1-x-rails-trough-gem/127346/1 "2008-01-28T14:45:03Z")

</div>

Hello,  
I am new to this framework (even to ruby) and followed some books got  
things working but when I tried to install the rails through gem (on  
Windows) it installs the latest version (for wich I can’t find much  
documentation) 2.0.2.  
Now, I want to install a previous version (1.x) of rails framework…is  
that possible also through gem or do I need to install the binaries by  
myself?  
Thanks

---

<div class="post-metadata">

**Author:** ![anjelika](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba8739/32.png) [@anjelika](https://www.ruby-forum.com/u/anjelika)\
**Post date:** [January 28, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/installing-1-x-rails-trough-gem/127346/2 "2008-01-28T15:08:38Z")

</div>

On Mon, Jan 28, 2008 at 10:44:57PM +0900, Cristian G. wrote:

> Hello,  
> I am new to this framework (even to ruby) and followed some books got  
> things working but when I tried to install the rails through gem (on  
> Windows) it installs the latest version (for wich I can’t find much  
> documentation) 2.0.2.  
> Now, I want to install a previous version (1.x) of rails framework…is  
> that possible also through gem or do I need to install the binaries by  
> myself?  
> Thanks

Hello,

try gem install rails -v 1.2.6

Greetings  
Mario

## –

| [havelsoft.com](http://havelsoft.com) |  
| Tel: 033876-21 966 |  
| [http://www.havelsoft.com](http://www.havelsoft.com) |  
| |  
| Inhaber: Mario GÃ¼nterberg |  
| Garlitzer Dorfstr. 18 |

| 14715 MÃ¤rkisch Luch |
| --- |

---

<div class="post-metadata">

**Author:** ![anjelika](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba8739/32.png) [@anjelika](https://www.ruby-forum.com/u/anjelika)\
**Post date:** [January 28, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/installing-1-x-rails-trough-gem/127346/3 "2008-01-28T16:32:56Z")

</div>

Mario G. wrote:

> On Mon, Jan 28, 2008 at 10:44:57PM +0900, Cristian G. wrote:
> 
> > Hello,  
> > I am new to this framework (even to ruby) and followed some books got  
> > things working but when I tried to install the rails through gem (on  
> > Windows) it installs the latest version (for wich I can’t find much  
> > documentation) 2.0.2.  
> > Now, I want to install a previous version (1.x) of rails framework…is  
> > that possible also through gem or do I need to install the binaries by  
> > myself?  
> > Thanks
> 
> Hello,
> 
> try gem install rails -v 1.2.6
> 
> Greetings  
> Mario
> 
> ## –
> 
> | [havelsoft.com](http://havelsoft.com) |  
> | Tel: 033876-21 966 |  
> | [http://www.havelsoft.com](http://www.havelsoft.com) |  
> | |  
> | Inhaber: Mario GÃ¼nterberg |  
> | Garlitzer Dorfstr. 18 |
> 
> | 14715 MÃ¤rkisch Luch |
> | --- |

That worked, thanks.  
Actually after installing 1.2.6 and running rails --version still  
version 2.0.2 came up, but I had to uninstall (gem uninstall rails) the  
2.0.2 version and now everything looks fine.  
Thanks
