I always have issues when I use apt on Ubuntu for ruby-related
installs. Now I only use apt for ruby itself and then I install
rubygems via tgz and use that to install everything else.

On Sat, May 1, 2010 at 8:26 AM, Lee Hambley <[email protected]> wrote:
> Hi,
> So this is just a PATH problem with Ubuntu, as a mac user I can't really
> help you. (And I suspect as a result of your confusion the whole linux thing
> might be new to you) - Ubuntu has a few good reasons for this, ultimately
> the answer is to sudo install the gems, unless you know better?
> - Lee
> On 29 April 2010 23:06, rm.sylvester <[email protected]> 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.
>>
>> --
>> * 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
>
> --
> * 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



-- 
Byron

-- 
* 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