>Old rails, rake – running on Hardy

>From my own benefit … to help with installing and maintaining our old ruby apps, do this

sudo apt-get install rails rubygems irb rubysudo gem install -y rails --version=1.2.3sudo gem install -y rake --version=0.7.3sudo gem install -y postgres-pr

The problem with this is that it’s not sitting in your path and Ubuntu will keep asking you to install rails via apt. So

sudo ln -s /var/lib/gems/1.8/bin/rails /usr/local/bin/railssudo ln -s /var/lib/gems/1.8/bin/rake /usr/local/bin/rake

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>