Yep, I'm new to Ruby. I was following the Lynda.com tutorial and
seemed to exported the bash profile twice. All I know is that it
looks nothing like what the tutorial suggest I should have and I know
setting up the correct path is critical to getting everything
installed.
I'm running MacOSX Lion... I use ports to manage packages.. I have
ruby, gem and rails installed... I also have XCode installed.
I've been having problem occurring when updating gems:
"Invalid gemspec in
[/Library/Ruby/Gems/1.8/specifications/json-1.6.1.gemspec]: invalid
date format in specification: "2011-09-18 00:00:00.000000000Z""
My understanding is that the problem is that i'm running too old a
version of ruby:
jfreeman$ gem --version
Invalid gemspec in
[/Library/Ruby/Gems/1.8/specifications/json-1.6.1.gemspec]: invalid
date format in specification: "2011-09-18 00:00:00.000000000Z"
1.8.13
jfreeman$ rails --version
Rails 2.3.5
So.. anyway.. i decided to run railsready which, I believe, installed:
Ruby 1.9.3-p0.
"...
=> Extracting Ruby 1.9.3-p0
==> done...
=> Building Ruby 1.9.3-p0 (this will take a while)...
==> done...
..."
the issue is that I cannot actually find this version of Ruby and/or
connect it to gem and rails so I really have the environment I think I
should have.