[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problems installing rails on OSX

Roy Smith

11/21/2006 4:02:00 AM

Help out a poor dumb Pythonista who's trying to give rails a try.

I'm running OSX 10.3.9. I followed the directions at http://www.rubyonrail... and
installed from source ruby 1.8.4. OSX came with ruby 1.6.8 pre-installed in /usr/bin. I
moved that to /usr/bin/ruby-1.6.8 and make /usr/bin/ruby a symlink to /usr/local/bin/ruby.
All of this went well:

Roy-Smiths-Computer:rubygems-0.9.0$ ruby --version
ruby 1.8.4 (2005-12-24) [powerpc-darwin7.9.0]

Then I downloaded RubyGems, which went not so well:

Roy-Smiths-Computer:rubygems-0.9.0$ gem --version
/usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:52:in `initialize':
uninitialized constant Gem::CommandManager::HelpCommand (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:46:in `instance'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:25:in `run'
from /usr/local/bin/gem:23

Any hints what I might have done wrong, or where to start looking?
2 Answers

matt

11/21/2006 5:33:00 AM

0

Roy Smith <roy@panix.com> wrote:

> Help out a poor dumb Pythonista who's trying to give rails a try.

While you're sorting things out, I suggest Locomotive:

<http://locomotive.raau...

It includes everything you need - ruby, needed gems, everything. No
installation required, doesn't interfere with your stock ruby, because
it's all contained inside the bundle. Brilliant. Plug, play. m.

--
matt neuburg, phd = matt@tidbits.com, http://www.tidbits...
Tiger - http://www.takecontrolbooks.com/tiger-custom...
AppleScript - http://www.amazon.com/gp/product/...
Read TidBITS! It's free and smart. http://www.t...

Jonas Hartmann

11/23/2006 12:03:00 AM

0

Roy Smith wrote:
> Help out a poor dumb Pythonista who's trying to give rails a try.
>
...

while i cant help you with that I had no problems with hivelogics
guidlines:

http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_m...


--
Jonas Hartmann
www : http://www.Jonas-Ha...
eMail : Mail@Jonas-Hartmann.com
icq : 13971744
skype : ionas82
home : +49 (0)6071 2 79 45 97 (AB)
mobile : +49 (0)160 99 2 44 679 (SMS)