I have found JRuby the easier to install and does not have cross platform annoyances that Ruby C-bases has. I am using macports on my mac, but after having ruby 1.9 I tried to install rails gem and it install ruby 1.8 again, I think. Well macports is not really perfect. I didnot know about RVM and I think it can be used with macports (with ruby 1.8), so we can install and use ruby 1.9 if needed. <br>
<br>I am still new to Ruby so I am bit confused about the several choices.<br><br><div class="gmail_quote">On Wed, Dec 9, 2009 at 11:17 AM, Pat Allan <span dir="ltr"><<a href="mailto:pat@freelancing-gods.com">pat@freelancing-gods.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On 09/12/2009, at 9:59 PM, Paul Campbell wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Like Paul, I use the inbuilt Ruby, but I changed the gem location to be<br>
local. For bash, this can be done as follows:<br>
<a href="http://gist.github.com/217895" target="_blank">http://gist.github.com/217895</a><br>
<br>
</blockquote>
<br>
I'm pretty sure that if you don't have write access to the system gem<br>
path a gem install will use ~/.gem by default.  I don't know when this<br>
changed in rubygems but I know it used to complain and now it silently<br>
puts things in ~/.gem whenever I forget to sudo.<br>
</blockquote>
<br>
Yeah, I try not to use sudo most of the time. My ~/.bash_profile just has this:<br>
<br>
PATH=$PATH:/Users/paul/.gem/ruby/1.8/bin<br>
</blockquote>
<br></div>
It does indeed do it by default - I found it still complained until I told it to just use ~/.gem and nowhere else.<br>
<br>
-- <br><font color="#888888">
Pat</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Riccardo Tacconi<br>VIRTUELOGIC LIMITED<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br><a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>