Building readline on Tiger

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 P.'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?

Config:
Tiger 10.4.7 PowerPC
MySQL 5 32 bits
XCode 2.4

On Sep 23, 2006, at 4:40 AM, Jean-Michel LEON-FOUN-LIN wrote:

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)

On 2006-09-23 15:50:06 +0400, Chris G. [email protected] said:

ruby_rails_lighttpd_mysql_tiger.

(1872-1970)
Thanks a lot for your answer.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs