Skip to content

Instantly share code, notes, and snippets.

Macintosh:desktop toreystriffolino$ gem install rails -v '3.2.13' --debug
Exception `NameError' at /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand
Exception `Errno::EAGAIN' at /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block
Exception `Errno::EAGAIN' at /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block
Exception `Errno::EAGAIN' at /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block
Exception `Errno::EAGAIN' at /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block
Exception `Errno::EAGAIN' at /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/
Fetching: minitest-4.7.5.gem (100%)
Fetching: atomic-1.1.14.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
Macintosh:~ toreystriffolino$ sudo gem install rails
Password:
Fetching: i18n-0.6.5.gem (100%)
Fetching: multi_json-1.8.0.gem (100%)
Fetching: tzinfo-0.3.37.gem (100%)
Macintosh:~ toreystriffolino$ brew doctor
Warning: You have MacPorts or Fink installed:
/Users/toreystriffolino/.rvm/bin/port, /opt/local/bin/port
This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.
sudo mv /opt/local ~/macports
Warning: Unbrewed dylibs were found in /usr/local/lib.
gem install rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Macintosh:~ toreystriffolino$ brew doctor
Warning: You have MacPorts or Fink installed:
/Users/toreystriffolino/.rvm/bin/port, /opt/local/bin/port
This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.
sudo mv /opt/local ~/macports
Warning: Unbrewed dylibs were found in /usr/local/lib.
Macintosh:~ toreystriffolino$ brew install apple-gcc42
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
Error: No available formula for apple-gcc42
Macintosh:~ toreystriffolino$
Updated Homebrew from 824212a0 to 88c3a715.
==> Updated Formulae
drush gradle rbenv-gemset
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
A RVM version 1.22.11 () is installed yet 1.22.11 (master) is loaded.
Please do one of the following:
* 'rvm reload'
* open a new shell
* 'echo rvm_auto_reload_flag=1 >> ~/.rvmrc' # for auto reload with msg.
* 'echo rvm_auto_reload_flag=2 >> ~/.rvmrc' # for silent auto reload.