Check the /var/lib/gems/1.8/bin directory, are the scripts "cap", "capify",
"rails", "mongrel_rails" and others there?

If they are, that directory is not in your PATH. Check it like this:

  echo $PATH

If it's not included, edit your /etc/profile:

  PATH=$PATH:/var/lib/gems/1.8/bin
  export PATH

It will take effect after your next login. If you don't want to login again
just paste the first line in the command-prompt.

-M

On Nov 27, 2007 8:36 PM, Luke Grimstrup <[EMAIL PROTECTED]> wrote:

>
> I'm trying to deploy my rails app from my local machine to my server.
> I'm using Ubuntu.
> I've run:
> sudo gem install --include-dependencies rake
> sudo gem install --include-dependencies rails
> sudo gem install --include-dependencies termios
> sudo gem install --include-dependencies capistrano
> sudo gem install --include-dependencies mongrel
> sudo gem install --include-dependencies mongrel-cluster
>
> But when I try (in the rails project root):
> capify .
>
> I get:
> bash: capify: command not found
>
> F1 for Help?
>
> Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to