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
How to Use Link_To to Link an Image and a Text
Ruby Create Tar Ball in Chunks to Avoid Out of Memory Error
How Can One Set Property Values When Initializing an Object in Ruby
In Ruby or Rails, Why Is "Include" Sometimes Inside the Class and Sometimes Outside the Class
Need to Use Add_Index on Migration for Belongs_To/Has_Many Relationship? (Rails 3.2, Active Record)
Ror - How to Remove Rails 4.1.1 Version
Create a Tempfile Without Opening It in Ruby
Why Does Ruby Only Permit Certain Operator Overloading
What's a Rails Plugin, or Ruby Gem, to Automatically Fix English Grammar
How to Source Environment Variables for a Command Shell in a Ruby Script
Get Response Headers from Curb
How to Get the Number of Elements Having Same Attribute in HTML in Watir
Grouped Collection Select Alphabetical Order Rails
Deploy a Shell Script with Ruby Gem and Install in Bin Directory