Hey everyone,
I've had a request from a client to install ruby on rails. I've successfully downloaded, compiled and installed the required tarballs, and everything works fine from anywhere on the filesystem, so long as I'm logged in as root (eg. I can run 'rails testapp', and it creates me a skeleton rails app).
If I login to my test user account and get a jailshell prompt, I'm not able to execute either 'ruby' or 'rails', I just get a "command not found" error. I have the ruby binaries installed at /usr/local/ruby/bin, with symlinks to ruby (etc) in /usr/local/bin. I've checked my PATH (`echo $PATH`) and I've got the right directories listed there.. so I'm unsure as to why I am recieving these "command not found" errors.
Has anyone else had any experience with this kind of issue? What changes to I need to make in order to make ruby and rails available from jailshell?
Thanks in advance...
I've had a request from a client to install ruby on rails. I've successfully downloaded, compiled and installed the required tarballs, and everything works fine from anywhere on the filesystem, so long as I'm logged in as root (eg. I can run 'rails testapp', and it creates me a skeleton rails app).
If I login to my test user account and get a jailshell prompt, I'm not able to execute either 'ruby' or 'rails', I just get a "command not found" error. I have the ruby binaries installed at /usr/local/ruby/bin, with symlinks to ruby (etc) in /usr/local/bin. I've checked my PATH (`echo $PATH`) and I've got the right directories listed there.. so I'm unsure as to why I am recieving these "command not found" errors.
Has anyone else had any experience with this kind of issue? What changes to I need to make in order to make ruby and rails available from jailshell?
Thanks in advance...