ruby on rails mac os x console interpreter problem
just installed ruby on rails last ver on mac os x snow leopard, the ruby interpreter is not working in console, ex if i type : ruby filex.rb nothing happens (no output at all) ... if i press ruby also nothing happens, but the irb command works if i type irb filex.rb
how to fix that... ? installed directly , not with macports...开发者_C百科
You can try a which ruby
see if you are getting anything. But it seems like the ruby binary is not linked in properly.
You can try to link it yourself if you know where the ruby installed to
ln -s /usr/bin/ruby /path/to/ruby/installation/ruby
*The paths may vary from system to system, so this might not be 100% correct everywhere
精彩评论