Post by dejohnny on Jul 23, 2012 23:57:13 GMT -5
$ sudo gem install rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.7.3 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/json-1.7.3/ext/json/ext/parser/gem_make.out
Post by dejohnny on Jul 24, 2012 0:21:25 GMT -5
On MAC OSX Lion 10.7.4, you need to install a special package installer called RailsInstaller.
RailsInstaller has everything you need to hit the ground running. It includes the following components:
Get it here: railsinstaller.org/#osx
Play the video first before you proceed with the install.