adding it to your path variable for one instance of the shell can be
done with:
  export PATH=/var/lib/gems/1.8/bin:$PATH
try this in a terminal and then try if:
  which god
finds your god script.

Depending on if you want to extend the PATH variable system wide or
just for your user,
you can edit /etc/environment
or the .profile or the config file for your shell in your home
directory. For example ~/.bashrc


On Apr 2, 6:24 pm, Ran Margaliot <[email protected]> wrote:
> /var/lib/gems/1.8/bin/god exists
> and here is the $PATH output:
>
> root@production:~# echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
> games
>
> id not see the correct gems path there, should i add it?
> and if so, how do i add the correct path?
>
> On Mar 31, 4:52 pm, captainf <[email protected]> wrote:
>
> > The location of your god script might not be in your path.
>
> > check if /var/lib/gems/1.8/bin/god exists (if you use ruby 1.8.x)
> > and check if /var/lib/gems/1.8/bin is in your $PATH variable (echo
> > $PATH)
>
> > On Mar 31, 2:03 pm, Ran Margaliot <[email protected]> wrote:
>
> > > ive installed the god gem on my ubuntu 10.10 server, yet when i run
> > > god i get: -bash: god: command not found, any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"god.rb" 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/god-rb?hl=en.

Reply via email to