I am working on a module for a ruby on rails application (on my ps account) which requires RMagick. I am trying to follow the directions on the wiki for loading RMagick ~ http://wiki.dreamhost.com/RMagick ~, but am obviously making a mistake somewhere. It would be helpful if someone knowledgeable of using shell could help me work out the kinks..
So I did the first part with no problems:
The second part was just as easy. If I understand correctly the 'cd ~ ' command takes me down to the root of my user's shell access (from the ImageMagick-6.7.9-0 folder).
Then I get this command
Where does '~/' place the gems directory in relation to the my root usr? (That becomes an issue later...)
Setting the environment variable is not a problem, but I'm not sure I quite understand the instruction to 'configure ~/.gemrc.' I used 'emacs ~/.gemrc' to create and save the YML configuration suggested below. I don't know if that's right.
Then there is this. The echo $PATH suggestion is straight forward, but I don't know what it mean to 'Make sure your .bash_profile is sourced.'
The next command says to 'cd ~/src' but that returns an error ('-bash: cd: /home//src: No such file or directory') because I'm already at the root of my shell access.
I'll stop right there. If I can work through the issues mentioned above.. I think I can finish out the installation. Anyone willing to provide some advice?