Did you install the gem as root? I had similar problems when I tried installing a gem as an underprivileged user. It didn't quite error out during the install, but it never worked properly.
On Sun, Jun 29, 2008 at 5:00 AM, rejeep <[EMAIL PROTECTED]> wrote: > > Hi! > > I just installed Capistano (version 2.4.3) via Ruby Gems. But I cant > make it work. When I run for example: > cap staging deploy > I get > bash: /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/cap: Permission > denied > bash: /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/cap: Permission > denied > > And correct, there are no execute rights (why?) > cd /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/ > [EMAIL PROTECTED] /var/lib/gems/1.8/gems/capistrano-2.4.3/bin $ ls -l > total 8 > -rw-r--r-- 1 root root 70 2008-06-29 13:53 cap > -rw-r--r-- 1 root root 2154 2008-06-29 13:53 capify > > So I do: > sudo chmod a+x * > > And then when I cap I get: > /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/cap:3:in `require': no > such file to load -- capistrano/cli (LoadError) > from /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/cap:3 > /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/cap:3:in `require': no > such file to load -- capistrano/cli (LoadError) > from /var/lib/gems/1.8/gems/capistrano-2.4.3/bin/cap:3 > > Any ideas? > > Thanks! > > > -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
