Forum: Ruby on Rails readline problems

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
0d8e744fc1f159a01201190ef712e8c0?d=identicon&s=25 Charles F. Munat (Guest)
on 2006-06-10 19:45
(Received via mailing list)
I get the following error:

rake test_units --trace

** Invoke test_units (first_time)
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Execute db:test:clone
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
NOTICE:  CREATE TABLE will create implicit sequence "users_id_seq" for
serial column ""
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
"users_pkey" for table "users"
** Execute test:units
/usr/local/bin/ruby -Ilib:test
"test/unit/localization_test.rb" "test/unit/user_test.rb"
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
   Referenced from:
   Expected in: flat namespace

rake aborted!
Command failed with status (): [/usr/local/bin/ruby -Ilib:test
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:722:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:729:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:807:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:747:in `ruby'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `ruby'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:807:in `ruby'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'
/usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'
/usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'

Readline is installed properly in /usr/local/lib/ and is 5.1.

I deleted the 1.8 directory in /ruby and reinstalled ruby using
autoconf, ./configure, make clean, make, make test, and make install.
There were many warnings about differences in signedness during make,
but it installed fine.

I also uninstalled and reinstalled rake and rails. I got an invalid date
error while re-installing localization_generator, but otherwise all went

But I still get the above error. Anyone know why?

Thanks for helping.

Chas. Munat
4005a47a8f2ceee49670b920593c1d52?d=identicon&s=25 Ben Munat (Guest)
on 2006-06-10 21:41
(Received via mailing list)
Hey Bro,

I remember having some weird problems installing the
salted_hash_login_generator, which
depended on localization_generator... and I remember that tests were
Unfortunately, I don't remember exactly what the solution was.

I do remember that at one point I figured out that I somehow had
multiple versions of rake
installed and that was causing problems... not sure if that had anything
to do with the
localization generator problem.

You might carefully explore your ruby directory hierarchy and see
exactly what's in there.
If you actually made sure that everything under there was completely
deleted when you
uninstalled, then this is probably all useless advice... can't see how
you could have
multiple versions.

Seems to me that I remember reading cautions about using the ruby that
comes with Mac OS too.

Well, sorry this isn't more helpful, but on the other hand, I have
definitely noticed a
kind of catch-22 on this list: posts often don't get replies until
someone replies. There
are some very smart people on this list, here's hoping that someone
chimes in here to help
you out!

5c0f4e71d9d0b71b8b60a2693df1571a?d=identicon&s=25 Deirdre Saoirse Moen (Guest)
on 2006-06-14 00:18
(Received via mailing list)
On Jun 10, 2006, at 10:42 AM, Charles F. Munat wrote:

> I also uninstalled and reinstalled rake and rails. I got an invalid
> date error while re-installing localization_generator, but
> otherwise all went well.

I didn't see this one at first, but I see Ben got it.

The next version of the Salted Hash Login Generator (which I'm
working on) will make localization optional, as well as add a few
other new things.

This topic is locked and can not be replied to.