From: Chris Gehlker Date: 2006-09-23T20:50:06+09:00 Subject: Re: building readline on Tiger On Sep 23, 2006, at 4:40 AM, Jean-Michel LEON-FOUN-LIN wrote: > Hi everyone, > > this is the first time I've posted to this group. And I am a ruby > and programming newbie. (To give you an idea of my skills I am > reading Chris Pine's book right now, I'll move to the PickAxe later). > I have installed ruby and rails following Hivelogic's guide at > http://hivelogic.com/articles/2005/12/01/ > ruby_rails_lighttpd_mysql_tiger. > > I > seem to have a working ruby / rails install. I have tried Apple's > tutorial's at http://developer.apple.com/tools/rubyonrails.html and > some basic ruby programs. > When I type: require 'readline' irb gives a false response. When I > do the same with 'mysql' it tells me the file doesn't exist. > > Building readline seemed to have gone right. Could someone explain > to me what irb's answers mean? The false response for "require 'readline'" is simply Ruby's way of saying that readline was already loaded. That is require returns false whenever it doesn't actually have to load the file. The file mysql.rb does not actually exist. Rails doesn't need such a file to access MySQL. --- Neither a man nor a crowd nor a nation can be trusted to act humanely or to think sanely under the influence of a great fear. -Bertrand Russell, philosopher, mathematician, author, Nobel laureate (1872-1970)