Problem: gem fails to create makefile
Solution: download ruby dev kit from [http://wiki.github.com/oneclick/rubyinstaller/development-kit here]
I'm having trouble getting RVM to work on a Joyent Accelerator running OpenSolaris. I've followed the instructions on http://rvm.beginrescueend.com/rvm/install/ as follows: | |
1. Run bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | |
2. Added [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" into my .bashrc | |
3. Typed type rvm | head -n1 and received the message "rvm is a function" | |
4. Run source ~/.rvm/scripts/rvm | |
5. Run rvm notes | |
At this point RVM appears to be working. I can run rvm install 1.8.7 and RVM downloads and compiles ruby 1.8.7. If I then run rvm 1.8.7, then ruby -v returns 1.8.7, as expected. However, when I try to install any gems (e.g. running gem install rails --pre) I get the following error: |
Problem: gem fails to create makefile
Solution: download ruby dev kit from [http://wiki.github.com/oneclick/rubyinstaller/development-kit here]