If you have symlinked REE into your actual PATH as `ruby`, then there is no
benefit to having the path to it in your path, the only thing I can assume
is that maybe Gems are being installed to a place that isn't in the load
path, somehow......
Not really sure, but I am happy that you have resolved it enough that you
can move on.

- Lee

2009/6/8 Bharat <[email protected]>

>
> No.  that is not it.  Here is the output:
>
> ssrxgrp ~: which gem
> /opt/ruby-enterprise/bin/gem
> ssrxgrp ~: which irb
> /opt/ruby-enterprise/bin/irb
> ssrxgrp ~: which ruby
> /opt/ruby-enterprise/bin/ruby
> ssrxgrp ~:
>
> I know this because I only installed ruby enterprise.  I built this
> Ubuntu 8.10 slice from scratch.  I then symlinked the executables in /
> usr/bin as shown below:
>
> lrwxrwxrwx  1 root root         29 2009-05-23 03:01 ruby -> /opt/ruby-
> enterprise/bin/ruby
> lrwxrwxrwx  1 root root         27 2009-05-23 03:01 ri -> /opt/ruby-
> enterprise/bin/ri
> lrwxrwxrwx  1 root root         29 2009-05-23 03:01 rdoc -> /opt/ruby-
> enterprise/bin/rdoc
> lrwxrwxrwx  1 root root         30 2009-05-23 12:59 rails -> /opt/ruby-
> enterprise/bin/rails
> lrwxrwxrwx  1 root root         29 2009-05-23 03:00 rake -> /opt/ruby-
> enterprise/bin/rake
> lrwxrwxrwx  1 root root         28 2009-05-23 02:58 gem -> /opt/ruby-
> enterprise/bin/gem
> lrwxrwxrwx  1 root root        28 2009-05-23 02:59 irb -> /opt/ruby-
> enterprise/bin/irb
>
> Following the same logic, do you think that I should symlink whenever
> too?  After all, the executables are all really in /opt/ruby-
> enterprise/bin directory.  I had no ends of trouble with my ruby on
> rails install until I created the symlinks that I show above following
> Peter Cooper's excellent article:
>
>
> http://www.rubyinside.com/how-to-install-a-ruby-18-stack-on-ubuntu-810-from-scratch-1566.html
>
> Since I created those symlinks, all the problems when away.  I am
> wondering then what is the purpose of putting /opt/ruby-enterprise/bin
> in the $PATH variable then?
>
> ssrxgrp /usr/bin: echo $PATH
> /opt/ruby-enterprise/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/
> bin:/sbin:/bin:/usr/games
>
> Although, the immediate problem is resolved, gaps in my understanding
> remain.
>
> Thanks you for your patience.
>
> Bharat
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to