{"id":281,"date":"2008-05-29T01:03:00","date_gmt":"2008-05-29T01:03:00","guid":{"rendered":"http:\/\/new.cottee.org\/2008\/05\/old-rails-rake-running-on-hardy\/"},"modified":"2008-05-29T01:03:00","modified_gmt":"2008-05-29T01:03:00","slug":"old-rails-rake-running-on-hardy","status":"publish","type":"post","link":"https:\/\/cottee.org\/?p=281","title":{"rendered":">Old rails, rake &#8211; running on Hardy"},"content":{"rendered":"<p>>From my own benefit &#8230; to help with installing and maintaining our old ruby apps, do this<\/p>\n<pre>sudo apt-get install rails rubygems irb ruby<br \/>sudo gem install -y rails --version=1.2.3<br \/>sudo gem install -y rake --version=0.7.3<br \/>sudo gem install -y postgres-pr<br \/><\/pre>\n<p>The problem with this is that it&#8217;s not sitting in your path and Ubuntu will keep asking you to install rails via apt. So<\/p>\n<pre>sudo ln -s \/var\/lib\/gems\/1.8\/bin\/rails \/usr\/local\/bin\/rails<br \/>sudo ln -s \/var\/lib\/gems\/1.8\/bin\/rake \/usr\/local\/bin\/rake<\/pre>\n<div class=\"blogger-post-footer\"><img width='1' height='1' src='https:\/\/blogger.googleusercontent.com\/tracker\/9210244490645736884-544330840834024612?l=blog.cottee.org' alt='' \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>>From my own benefit &#8230; to help with installing and maintaining our old ruby apps, do this sudo apt-get install rails rubygems irb rubysudo gem install -y rails &#8211;version=1.2.3sudo gem install -y rake &#8211;version=0.7.3sudo gem install -y postgres-pr The problem with this is that it&#8217;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<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[42,44,47],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry","category-oldsite","tag-rails","tag-ruby","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":0,"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions"}],"wp:attachment":[{"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}