Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thanks for the clarifications. I went ahead and reconfigured and installed 1.9.2. I feel like this fixed my ruby issues because before when I looked up "which ruby" regardless of whether I was root or myself it pointed to my local directory, but now when I type which ruby as root I get /root/bin/ruby, which is good right? However, I still get "-bash: /usr/local/bin/gem: /usr/local/bin/ruby: bad interpreter: Permission denied" when I try to type "gem install rails". Any suggestions? Commented Jul 18, 2012 at 17:01
  • Hmm. Sounds like you installed ruby into root's home directory. Is that what you did? If so, it's not really good, and I'd remove that particular install, then simply follow the instructions in the ruby distribution so it installs under /usr/local/bin. You can then install rvm or rbenv to manage rubies in your own home directory. Commented Jul 18, 2012 at 18:04