Ruby Errors with Os X Yosemite

Having trouble installing rails on Mac OS X (Yosemite)

Thanks for the pointers guys!
I read this article here:
https://github.com/sstephenson/rbenv#homebrew-on-mac-os-x

It helped me understand rbenv.

  • I then updated my rbenv and Homebrew to the latest version.
  • Set my default ruby version to the latest version available.
    (I guess the System Ruby installed on my MAC OS X was the default and this was causing the problem)
  • Finally I used gem to install the latest version of rails and then a rehash.

Everything works great now!
Thanks

Error running Jekyll on OS X Yosemite 10.10.5

Hmmm. New problem seems that you have a problem with gem sources.

Re-generating sources can help.

$ gem sources --remove https://rubygems.org/
$ gem sources -a http://rubygems.org/
$ gem install jekyll

And now, install Jekyll again.

Error installing Ruby in Yosemite

Thanks @JanStrnádek for the answer. I solved all the dependencies from left to right and installed gcc using the below command and tried installing ruby again. It worked.

brew install homebrew/versions/gcc48

Error installing compass in OSX Yosemite (or Sierra)

You probably need to install the command line developer tools first.

xcode-select --install

Then try sudo gem install compass again



Related Topics



Leave a reply



Submit