Readline (LoadError)

hi,

i’m a noob in ror, today i bought a book to learn ror.

i do everthing that stand’s in this book, and the shit does’t work!

i use Aptana IDE with RadRails

the problem is:

Loading development environment.
/usr/lib/ruby/1.8/irb/completion.rb:10:in require': No such file to load -- readline (LoadError) from /usr/lib/ruby/1.8/irb/completion.rb:10 from /usr/lib/ruby/1.8/irb/init.rb:218:inrequire’
from /usr/lib/ruby/1.8/irb/init.rb:218:in load_modules' from /usr/lib/ruby/1.8/irb/init.rb:216:ineach’
from /usr/lib/ruby/1.8/irb/init.rb:216:in load_modules' from /usr/lib/ruby/1.8/irb/init.rb:21:insetup’
from /usr/lib/ruby/1.8/irb.rb:54:in `start’
from /usr/bin/irb:13

when i use the shell myapp/script/server it starts without any problems.

any body know how i can fix it?

iam workin on mac os x 10.4.10
rails 1.2
ruby 1.8.6

thx!

Mattias Horvath wrote:

i do everthing that stand’s in this book, and the shit does’t work!

Please be more considerate when writing to the people who wrote that
shit.

Loading development environment.
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require’: No such file to
load – readline (LoadError)

http://www.apple.com/downloads/macosx/unix_open_source/rubyoneclickinstallerforosxtiger.html

“…replaces the broken Readline library…”

Have a good one!


Phlip
http://www.oreilly.com/catalog/9780596510657/
“Test Driven Ajax (on Rails)”
assert_xpath, assert_javascript, & assert_ajax