logo       

Re: bash: capify: command not found: msg#00178

lang.ruby.capistrano.general

Subject: Re: bash: capify: command not found

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
<luke.g-kXw2iXeozmoY+eTVAdjFZg@xxxxxxxxxxxxxxxx> 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.
> >
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise