<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Using Multiple Rubies Seamlessly On The One Machine With Rvm</title> <atom:link href="http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/feed/" rel="self" type="application/rss+xml" /><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/</link> <description>For the betterment of the software craft...</description> <lastBuildDate>Mon, 21 Nov 2011 13:57:06 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.2</generator> <item><title>By: Marc</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-7230</link> <dc:creator>Marc</dc:creator> <pubDate>Sun, 03 Jul 2011 13:56:04 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-7230</guid> <description>Ruby platforms for Netbeans are defined in the following file:
~/.netbeans//build.properties
So you can simply edit the gem paths and gem homes in there.</description> <content:encoded><![CDATA[<p>Ruby platforms for Netbeans are defined in the following file:</p><p> ~/.netbeans//build.properties</p><p>So you can simply edit the gem paths and gem homes in there.</p> ]]></content:encoded> </item> <item><title>By: Delicious Bookmarks for March 13th from 08:29 to 10:40 &#171; Lâmôlabs</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-7042</link> <dc:creator>Delicious Bookmarks for March 13th from 08:29 to 10:40 &#171; Lâmôlabs</dc:creator> <pubDate>Sun, 13 Mar 2011 15:09:32 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-7042</guid> <description>[...] Using Multiple Rubies Seamlessly On The One Machine With Rvm &#8211; March 13th  ( tags: ruby rvm howto jruby netbeans ruby1.9 version programming example setup ree ) [...]</description> <content:encoded><![CDATA[<p>[...] Using Multiple Rubies Seamlessly On The One Machine With Rvm &#8211; March 13th  ( tags: ruby rvm howto jruby netbeans ruby1.9 version programming example setup ree ) [...]</p> ]]></content:encoded> </item> <item><title>By: Eric Proctor</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6808</link> <dc:creator>Eric Proctor</dc:creator> <pubDate>Tue, 18 Jan 2011 21:51:49 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6808</guid> <description>Oooh... on the previous, I think we can do it with single quotes instead of backticks.  My bad!</description> <content:encoded><![CDATA[<p>Oooh&#8230; on the previous, I think we can do it with single quotes instead of backticks.  My bad!</p> ]]></content:encoded> </item> <item><title>By: Eric Proctor</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6807</link> <dc:creator>Eric Proctor</dc:creator> <pubDate>Tue, 18 Jan 2011 21:51:03 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6807</guid> <description>I&#039;m not at home to try this yet, but just wondering if you could just create a ruby script and launch that...something like...
#!/usr/bin/env ruby
system(`rvm use 1.9.1`)
# is this next line even necessary since I can call netbeans from the command line
# and it starts netbeans (I think)
system(`cd /path/to/netbeans/install/bin`)
system(`./netbeans`)
Then save it, make it executable with chmod +x and go to town.  I may try when I go home tonight.</description> <content:encoded><![CDATA[<p>I&#8217;m not at home to try this yet, but just wondering if you could just create a ruby script and launch that&#8230;something like&#8230;</p><p>#!/usr/bin/env ruby</p><p>system(`rvm use 1.9.1`)<br
/> # is this next line even necessary since I can call netbeans from the command line<br
/> # and it starts netbeans (I think)<br
/> system(`cd /path/to/netbeans/install/bin`)<br
/> system(`./netbeans`)</p><p>Then save it, make it executable with chmod +x and go to town.  I may try when I go home tonight.</p> ]]></content:encoded> </item> <item><title>By: Jay</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6790</link> <dc:creator>Jay</dc:creator> <pubDate>Tue, 11 Jan 2011 04:22:25 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6790</guid> <description>This is probably too late to help you, but I had a similar issue.  You have to change the gem home path that Netbeans autodetects.  In my case, the gems that RVM uses are located in ~/.rvm/gems/ruby-1.9/gems but Netbeans autodetects the path to be something like ~/.rvm/rubies/ruby-1.9.x/lib/ruby/gems/1.9.x/ which isn&#039;t correct.  However, if you try to change the gem path you run into a couple of problems.
1) Netbeans doesn&#039;t let you browse &quot;hidden&quot; directories (in this case .rvm).  This can be resolved with a symlink (as mentioned above by another commenter), or you can type the path directly in the text input, and then press Open.
2) Once you browse to the place where it seems the gems are stored (&quot;~/.rvm/gems/ruby-1.9/gems&quot;) you get an error from Netbeans about it being a non-empty existing directory, but isn&#039;t a valid RubyGems repository.  Drop the &quot;gems&quot; off the end of that path and Netbeans accepts the path, and all seems well (so far).
Perhaps this will help others. :)</description> <content:encoded><![CDATA[<p>This is probably too late to help you, but I had a similar issue.  You have to change the gem home path that Netbeans autodetects.  In my case, the gems that RVM uses are located in ~/.rvm/gems/ruby-1.9/gems but Netbeans autodetects the path to be something like ~/.rvm/rubies/ruby-1.9.x/lib/ruby/gems/1.9.x/ which isn&#8217;t correct.  However, if you try to change the gem path you run into a couple of problems.</p><p>1) Netbeans doesn&#8217;t let you browse &#8220;hidden&#8221; directories (in this case .rvm).  This can be resolved with a symlink (as mentioned above by another commenter), or you can type the path directly in the text input, and then press Open.</p><p>2) Once you browse to the place where it seems the gems are stored (&#8220;~/.rvm/gems/ruby-1.9/gems&#8221;) you get an error from Netbeans about it being a non-empty existing directory, but isn&#8217;t a valid RubyGems repository.  Drop the &#8220;gems&#8221; off the end of that path and Netbeans accepts the path, and all seems well (so far).</p><p>Perhaps this will help others. :)</p> ]]></content:encoded> </item> <item><title>By: Nico</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6446</link> <dc:creator>Nico</dc:creator> <pubDate>Tue, 19 Oct 2010 07:00:09 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6446</guid> <description>Anyone an idea how to ad gemsets per netbeans project?</description> <content:encoded><![CDATA[<p>Anyone an idea how to ad gemsets per netbeans project?</p> ]]></content:encoded> </item> <item><title>By: stahlstift</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6291</link> <dc:creator>stahlstift</dc:creator> <pubDate>Sun, 17 Oct 2010 13:14:35 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6291</guid> <description>I can confirm this.
Netbeans 6.9.1 finds automatically all my rvm installed platforms + the built in JRuby and the system default (1.8.7 mac os x)</description> <content:encoded><![CDATA[<p>I can confirm this.<br
/> Netbeans 6.9.1 finds automatically all my rvm installed platforms + the built in JRuby and the system default (1.8.7 mac os x)</p> ]]></content:encoded> </item> <item><title>By: Alan Skorkin</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6128</link> <dc:creator>Alan Skorkin</dc:creator> <pubDate>Mon, 06 Sep 2010 12:59:05 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6128</guid> <description>Sweet, that&#039;s good to know</description> <content:encoded><![CDATA[<p>Sweet, that&#8217;s good to know</p> ]]></content:encoded> </item> <item><title>By: ihelpXu</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6112</link> <dc:creator>ihelpXu</dc:creator> <pubDate>Fri, 20 Aug 2010 23:26:36 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6112</guid> <description>Looks like NetBeans (ver 6.9.1) now finds the different versions. All I did was &quot;autodetect platforms&quot; and it found all my RVM installed versions.</description> <content:encoded><![CDATA[<p>Looks like NetBeans (ver 6.9.1) now finds the different versions. All I did was &#8220;autodetect platforms&#8221; and it found all my RVM installed versions.</p> ]]></content:encoded> </item> <item><title>By: Matt Slay</title><link>http://www.skorks.com/2010/01/using-multiple-rubies-seamlessly-on-the-one-machine-with-rvm/comment-page-1/#comment-6049</link> <dc:creator>Matt Slay</dc:creator> <pubDate>Tue, 22 Jun 2010 17:27:47 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1261#comment-6049</guid> <description>Speaking of the NetBeans Platforms dialog box, I&#039;ve always been confused by the &quot;Gem Home&quot; and &quot;Gem Path&quot; settings... What&#039;s the difference in these?</description> <content:encoded><![CDATA[<p>Speaking of the NetBeans Platforms dialog box, I&#8217;ve always been confused by the &#8220;Gem Home&#8221; and &#8220;Gem Path&#8221; settings&#8230; What&#8217;s the difference in these?</p> ]]></content:encoded> </item> </channel> </rss>
