Monday, August 20, 2012

Ruby on Rails, Here We Come!

So, jumping on the Rails shtick, using ruby.railstutorial.org as my guide to getting my feet wet (and hopefully waist and even head). Installation has been remarkably painless thus far. JewelBox won't work yet—just crashes on launch—but we'll worry about that later.

At the moment, the biggest headache I encountered was when I followed the instructions for updating rvm. I got the error message:

Upgrading the RVM installation in /usr/local/rvm/
cp: /usr/local/share/man/man1/rvm.1: Permission denied


    Please run the installer using rvmsudo to fix file permissions

stat: /usr/local/share/man/man1/rvm.1: stat: No such file or directory
chown: /usr/local/share/man/man1/rvm.1: No such file or directory
cp: /usr/local/share/man/man1/rvm.1.gz: Permission denied


    Please run the installer using rvmsudo to fix file permissions

stat: /usr/local/share/man/man1/rvm.1.gz: stat: No such file or directory
chown: /usr/local/share/man/man1/rvm.1.gz: No such file or directory
    RVM PATH line found in /Users/slittle2/.bashrc /Users/slittle2/.zshrc.
    RVM sourcing line found in /Users/slittle2/.bash_profile /Users/slittle2/.zlogin.

Right.

Anyway, typing rvmsudo install etc. did no good. Just more error messages. And then I found this helpful little note:

 rvmsudo is equivalent of sudo, it does not append rvm to the command, you should run: rvmsudo rvm get head

Ah, of course! I ran the command, looks like it executed just fine!

On with the Rails!

No comments:

Post a Comment