{"id":88,"date":"2006-01-16T23:40:27","date_gmt":"2006-01-17T04:40:27","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2006\/01\/16\/windows-based-ruby-install-with-rubyge"},"modified":"2006-12-13T22:29:59","modified_gmt":"2006-12-14T03:29:59","slug":"windows-based-ruby-install-with-rubygems-interfering-with-cygwin-ru","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2006\/01\/16\/windows-based-ruby-install-with-rubygems-interfering-with-cygwin-ru\/","title":{"rendered":"Windows-based Ruby install with Rubygems interfering with cygwin ruby?"},"content":{"rendered":"<p><a name='a592'><\/a><\/p>\n<p>\n I had a problem with a windows-based install of Ruby with RubyGems kept<br \/>\n screwing up my cygwin-based installation of Ruby. Seems this is a<br \/>\n &#8216;well-known&#8217; problem in the Ruby community.  The symptons look like this\n <\/p>\n<p>\n <em><br \/>\n $ irb<br \/>\n \/usr\/bin\/ruby: no such file to load &#8212; ubygems (LoadError)<br \/>\n <\/em>\n <\/p>\n<p>\n Really annoying.   To fix this unset the RUBYOPT environment variable in<br \/>\n your cygwin shell&#8217;s setting.   The manual way to do this in bash is<br \/>\n shown:<\/p>\n<p>\n <em><br \/>\n $ unset RUBYOPT<br \/>\n $ irb<br \/>\n irb(main):001:0&gt;<br \/>\n <\/em>\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a problem with a windows-based install of Ruby with RubyGems kept screwing up my cygwin-based installation of Ruby. Seems this is a &#8216;well-known&#8217; problem in the Ruby community. The symptons look like this $ irb \/usr\/bin\/ruby: no such file to load &#8212; ubygems (LoadError) Really annoying. To fix this unset the RUBYOPT environment [&hellip;]<\/p>\n","protected":false},"author":703,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[972,615],"tags":[],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-programming","category-ruby"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/703"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}