# Building readline on Tiger

**URL:** <https://www.ruby-forum.com/t/building-readline-on-tiger/69751>\
**Category:** Ruby\
**Created:** [September 23, 2006, 9:25pm UTC](https://www.ruby-forum.com/t/building-readline-on-tiger/69751 "2006-09-23T21:25:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Michel\_LEON-FO](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@Jean-Michel\_LEON-FO](https://www.ruby-forum.com/u/Jean-Michel_LEON-FO)\
**Post date:** [September 23, 2006, 9:25pm UTC](https://www.ruby-forum.com/t/building-readline-on-tiger/69751/1 "2006-09-23T21:25:44Z")

</div>

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  
[Dan Benjamin](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](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

---

<div class="post-metadata">

**Author:** ![Jean-Michel\_LEON-FO](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@Jean-Michel\_LEON-FO](https://www.ruby-forum.com/u/Jean-Michel_LEON-FO)\
**Post date:** [October 18, 2006, 10:43am UTC](https://www.ruby-forum.com/t/building-readline-on-tiger/69751/2 "2006-10-18T10:43:26Z")

</div>

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](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)

---

<div class="post-metadata">

**Author:** ![Jean-Michel\_LEON-FO](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@Jean-Michel\_LEON-FO](https://www.ruby-forum.com/u/Jean-Michel_LEON-FO)\
**Post date:** [October 18, 2006, 10:43am UTC](https://www.ruby-forum.com/t/building-readline-on-tiger/69751/3 "2006-10-18T10:43:28Z")

</div>

On 2006-09-23 15:50:06 +0400, Chris G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) said:

> > ruby\_rails\_lighttpd\_mysql\_tiger.
> 
> (1872-1970)  
> Thanks a lot for your answer.
