If you have XCode 4 or later you will need to open it and go to Preferences -> Downloads -> Components and install the Command Line tools as they aren’t installed by default. Couldn’t install Rails until this happened.
More Related Contents:
- ‘sudo gem install’ or ‘gem install’ and gem locations
- How do I use RVM and create globally available gems?
- nokogiri gem installation error
- Mysql2::Error::ConnectionError: Access denied for user
- bundle install fails with SSL certificate verification error
- Rails: Installing PG gem on OS X – failure to build native extension
- no such file to load — rubygems (LoadError)
- warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
- How to handle Ruby on Rails error: “Please install the postgresql adapter: `gem install activerecord-postgresql-adapter'”
- Nokogiri installation fails -libxml2 is missing
- how to solve “ruby installation is missing psych” error?
- How do I “activate” a different version of a particular gem?
- Why can’t I install Rails on Lion using RVM?
- How to use bundler behind a proxy?
- How can I specify a local gem in my Gemfile?
- Convert HTML to word file ?
- How do I display Ruby on Rails form validation error messages one at a time?
- How do I use gems with Ubuntu?
- Getting a “bad interpreter” error when using brew
- Ruby: problem installing EventMachine under Windows 7
- “gem install rails” fails with DNS error
- String.force_encoding() in Ruby 1.8.7 (or Rails 2.x)
- unable to install pg gem
- Failed to build gem native extension — Rails install
- Why can’t I install the SQLite gem?
- sqlite3 gem fails to install
- How to fix “Your Ruby version is 2.3.0, but your Gemfile specified 2.2.5” while server starting
- Ruby 1.9.2 and Rails 3 cannot open rails console
- Ruby 1.9.2 how to install RMagick on Windows?
- Unable to install MySQL2 gem on Windows 7