I’m a novice in these lands, hence the possibly rudimentary inquiry…
I’m a designer/AS3 developer and am hoping to delve into Ruby on Rails
on the suggestion of a friend. Have been trying to get it installed
and am running into an error that perplexes me.
I’ve been able to get ruby and rubygems installed on OSX 10.5.7
following the directions on
http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx,
but in trying to install rails ran into:
FW-W874815VXA9-3:src gensler$ cd rubygems-0.9.2
FW-W874815VXA9-3:rubygems-0.9.2 gensler$ sudo /usr/local/bin/ruby
setup.rb
sudo: /usr/local/bin/ruby: command not found
–
Hoping that I could ignore the ‘command not found’ message and still
achieve my installation goals, I continued
FW-W874815VXA9-3:rubygems-0.9.2 gensler$ cd …
FW-W874815VXA9-3:src gensler$ sudo gem install rails --include-
dependencies
INFO: gem install -y
is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Bulk updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while…
ERROR: Error installing rails:
fastthread requires RubyGems version >= 1.2
–
At this point I did a search to see if I could update the version of
RubyGems I had just installed but ran into the following
FW-W874815VXA9-3:src gensler$ cd rubygems-0.9.2
FW-W874815VXA9-3:rubygems-0.9.2 gensler$ gem update –system
Updating installed gems…
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of –system
ERROR: could not find –system locally or in a repository
Gems updated: –system
FW-W874815VXA9-3:rubygems-0.9.2 gensler$ sudo /usr/local/bin/ruby
setup.rb
Password:
sudo: /usr/local/bin/ruby: command not found
–
per the installation page at
I thought that perhaps I had incorrectly set the path in
my .bash_login file, so I checked, and it appears to be correct.
Any help or suggestions would be most appreciated.