I recently started using RVM on my Mac and Linux boxes, and it's been great.
Even if you don't need the flexibility multiple implementations or versions
of Ruby, or even discrete gemsets, it makes compiling and updating a snap,
and you don't have to sudo.

http://rvm.beginrescueend.com/


On Sat, May 1, 2010 at 3:11 PM, Rafael G. <[email protected]> wrote:

>  I believe that you installed rubygems from ubuntu package, and I guess it
> has custom paths.
>
> To avoid problems I recommend install rubygems[1] by hand and don't use
> ubuntu version.
>
> Regards
>
> [1] http://rubygems.org/pages/download
>
>
> On 29/04/10 23:06, rm.sylvester wrote:
>
> Hi guys,
>
> I've just got Ubuntu 9.1 on the go and am going through the process of
> getting my rails environment setup.
>
> firstly:
> RUBYGEMS VERSION: 1.3.5
> RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
>
> I have discovered a problem with capistrano, well it's a gems problem
> generally but I'd thought I'd ask here as I discovered it when trying
> to run the cap command.
>
> I get a "cap: command not found" error. Now I have spent some time
> looking about and found others have solved this problem by updating
> $PATH to include the path to gems in Ubuntu which is /var/lib/...
> instead of /usr/lib/...
>
> I've looked about and on my machine they're being put in /home/
> XXX/.gem/ruby/1.8/bin, so I added this to PATH. I ran "gem
> environment" and added the GEM PATHS and EXECUTABLE DIRECTORY (/var/
> lib/gems/1.8/bin) into PATH as well just for good measure but to no
> avail.
>
> The executable is in there - I can run it if I go into the directory
> and run it from there.
>
> Does anyone have any idea what might be happening here? Apologies for
> the noobish question.
>
>
>
>
>
> --
> Rafa
>
>  --
> * 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]<capistrano%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/capistrano?hl=en
>

-- 
* 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.com/group/capistrano?hl=en

Reply via email to