Hi,
I have finally decided to bite the bullet and install Ruby on a new server I am building. Any other time I have tried, it failed, and never went back to it.
I found a couple of decent tutorials on how to install Ruby with rvm. I did follow them, and wow, it installed v 1.9.3-p375. Nice.
But I have a few questions, hoping to find the answers. Cannot seem to find them with google.
Rvm is nice, but the system does not "know" that ruby is installed. If I want to install anything else which requires Ruby, what is the best method to go about this? Should I put a symlink somewhere in /usr/local/bin, lib, or share? Same would then apply if a user logging into the machine via ssh wanted to use ruby for compass or something, do I just make sure rvm/.rvm is in everyones path? Again, same with gems. What about the shared lib so that apache can make use of ruby?
Lastly, a question about dependencies. when I did the rvm install, it gave a decent sized list of dependencies, but only downloaded yaml. I know I do not have all those deps installed on the machine currently, but I do know that any deps listed for the FreeBSD port are installed. Should I make sure that I go ahead and install the deps that rvm listed?
Thank you for your time in reading. I am more advanced on FreeBSD than this all sounds here, just no exp with Ruby as of yet... But trying to work on that.
Cheers
Murias
I have finally decided to bite the bullet and install Ruby on a new server I am building. Any other time I have tried, it failed, and never went back to it.
I found a couple of decent tutorials on how to install Ruby with rvm. I did follow them, and wow, it installed v 1.9.3-p375. Nice.
But I have a few questions, hoping to find the answers. Cannot seem to find them with google.
Rvm is nice, but the system does not "know" that ruby is installed. If I want to install anything else which requires Ruby, what is the best method to go about this? Should I put a symlink somewhere in /usr/local/bin, lib, or share? Same would then apply if a user logging into the machine via ssh wanted to use ruby for compass or something, do I just make sure rvm/.rvm is in everyones path? Again, same with gems. What about the shared lib so that apache can make use of ruby?
Lastly, a question about dependencies. when I did the rvm install, it gave a decent sized list of dependencies, but only downloaded yaml. I know I do not have all those deps installed on the machine currently, but I do know that any deps listed for the FreeBSD port are installed. Should I make sure that I go ahead and install the deps that rvm listed?
Thank you for your time in reading. I am more advanced on FreeBSD than this all sounds here, just no exp with Ruby as of yet... But trying to work on that.
Cheers
Murias