I have been using Locomotive for rails development and recently decided
to fix up the ruby/rails install that is on my mac.
As we all know, Ruby 1.8.2 came on the mac and has problems, so I
followed the instructions at Hivelogic for installing the latest
versions of Ruby, Rails, Lighttpd and so forth.
I have this set in my path within bash_login: export
After going throught the installation, I can’t get ruby to work. I can
however check the version with ruby -v which returns 1.8.2 still.
Ocassionally, firing up the terminal and repeating the version gives me
1.8.4, but it’s never consistent.
When I cd into a project that I’ve created with Locomotive and try to
start the server (ruby script/server) it get the following:
require': No such file to load -- rubygems (LoadError) from ./script/../config/boot.rb:15 from script/server:2:inrequire’
If i use “/usr/local/bin/ruby script/server” it fires up webrick using
I must say though THIS IS NEVER CONSISTENET. Sometimes it fails.
My question is, why is it so inconsistent? I’m a mac convert from
windows, so maybe there is something I’m missing with the paths. Any
help would be greatly appreciated.