{"id":1915,"date":"2011-02-21T12:00:00","date_gmt":"2011-02-21T12:00:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2011\/02\/21\/rvm-ruby-version-manager\/"},"modified":"2011-02-21T12:00:00","modified_gmt":"2011-02-21T12:00:00","slug":"rvm-ruby-version-manager","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2011\/02\/21\/rvm-ruby-version-manager\/","title":{"rendered":"RVM: Ruby Version Manager"},"content":{"rendered":"<p>\t\t\t\t<a href=\"http:\/\/rvm.io\/\">http:\/\/rvm.io<\/a>\u00a0(!!! worth having a look there for the most up-to-date installation procedure !!!)<\/p>\n<p>Allows you to work very well with more than one ruby installation, just like\u00a0App::perlbrew for perl.<\/p>\n<p>The <span>rvm<\/span> command is implemented through a lot of bash functions.<\/p>\n<p>The PragProg <a href=\"http:\/\/www.pragprog.com\/titles\/ruby3\/programming-ruby-1-9\">ruby3<\/a> and the <a href=\"http:\/\/www.pragprog.com\/titles\/jruby\/using-jruby\">jruby book<\/a> both talk about <span>rvm<\/span>, and it looks, as if <span>rvm<\/span> is really quite helpful, if \u00a0you deal with more than one ruby interpreter.<\/p>\n<p>I installed <span>rvm<\/span> locally on an openSUSE-11.3 system and also remotely (git-based), and also on Mac OS X 10.6.6 (not git-based (yet)).<\/p>\n<p>Update 2011-02-22:<br \/>\nOutput from my <span>$HOME\/.bashrc<\/span> disturbed the smooth execution of <span>rvm<\/span>, I had to remove that output (although I really liked that).<\/p>\n<p>Update 2011-07-15 \u2013 how to upgrade:<br \/><span>$ rvm get stable<\/span><br \/><span>$ rvm reload<\/span><br \/><span>$ rvm list known<\/span><br \/><span>$ rvm list<\/span><br \/><span>$ rvm install jruby-1.6.99999<\/span><br \/><span>$\u00a0rvm install ruby-1.9.99999<\/span><br \/><span>$\u00a0<\/span><span>rvm all do gem install xml-simple<\/span><br \/><span>$ \u2026<\/span><\/p>\n<p>\nUpdate 2012-01-\u2026 \u2013 trouble with &#8220;get head&#8221;!!!<\/p>\n<div>\n<span>$ rvm get head #\u00a0<\/span>looks broken, avoid it for the time being!<br \/>\nThis really caused me a lot of grief and fear.<\/p>\n<p><span>$ rvm get stable #\u00a0<\/span>better for me<\/p>\n<div>\n<br \/>\nUpdate 2013-09-30<br \/>\n(Nowadays) before running rvm, you need to run some initialisation code:<br \/><span>source $HOME\/.rvm\/scripts\/rvm<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/rvm.io\u00a0(!!! worth having a look there for the most up-to-date installation procedure !!!) Allows you to work very well with more than one ruby installation, just like\u00a0App::perlbrew for perl. The rvm command is implemented through a lot of bash functions. The PragProg ruby3 and the jruby book both talk about rvm, and it looks, as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-1915","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-uT","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1915\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}