Posts [ 4 ]

Chanteki-MacBook-Pro:~ chanwaihung$ sudo gem install -y railsINFO: `gem install -y` is now default and will be removedINFO: use --ignore-dependencies to install only the gems you listBuilding native extensions. This could take a while...ERROR: Error installing rails:

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.outChanteki-MacBook-Pro:~ chanwaihung$ railsRails 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.Chanteki-MacBook-Pro:~ chanwaihung$ sudo gem install railsBuilding native extensions. This could take a while...ERROR: Error installing rails:

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.outChanteki-MacBook-Pro:~ chanwaihung$ railsRails 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.Chanteki-MacBook-Pro:~ chanwaihung$

I'd suggest starting over with a newer version of Ruby. Maybe 1.9.2. I'd then install rvm. Then install rails into that. At this point I don't see a reason to be working with something that old. It's going to be harder to get help, and some problems will already be solved.