I could be doing something wrong, but this is how it went.
I try installing “rvm install macruby-head”
(I have not yet installed llvm since i am not sure what
version to use)
I get an error about not having LLVM. I go through source and find a
README.rdoc file which gives me the correct LLVM version.
( svn co -r 106781 https://llvm.org/svn/llvm-project/llvm/trunk
Now this could have been on the Macruby install page to make things
I install LLVM. (It installs in /usr/local … i don’t have this in path
since i use macports)
Now the README.rdoc wants me to do “rake” and “sudo rake install”.
I do rake, but then remember that RVM does not want me to do sudo at
So I resume: rvm install macruby-head
It prompts me for sudo password in order to do a “sudo rake install”.
Here’s the error i get:
bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception) from /Users/rahul/.rvm/gems/ruby-1.9.2-head/bin/rake:19:in’
(WHy is it complaining about 1.9.1 inside 1.9.2 ???)
When i do “sudo rake install” myself, i get the same error.
- So now I do just “rake install”. Seems to go well.
installing binary commands
installing command scripts
installing library scripts
installing data files
installing extension objects
installing extension scripts
installing Xcode 3.x templates
installing Xcode templates
fu_each_src_dest0:': Permission denied - (../../../Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macgem, /usr/local/bin/macgem) (Errno::EACCES) from /Users/rahul/.rvm/src/macruby-head/lib/fileutils.rb:342:insymlink:’
Command failed with status (1): [./miniruby instruby.rb
Oops. It needs sudo access, but in sudo access it won’t have access to
my RVM ruby!!!
- So now i don’t have any executables.
I use mdfind and find that these executable seem to be lying around:
macgem* macrake* macri* macruby_deploy* macrubyc* rb_nibtool*
macirb* macrdoc* macruby* macruby_select* macrubyd*
So perhaps I need to just copy these into /usr/local/bin. Or somewhere
Could someone clarify what i should do now. Where did I go wrong ?
Why is rvm install failing ?