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 failing.
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!
b
Charles F. Munat wrote:> 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 "users.id"
> NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
> "users_pkey" for table "users"
> ** Execute test:units
> /usr/local/bin/ruby -Ilib:test
>
"/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
> "test/unit/localization_test.rb"
"test/unit/user_test.rb"
> dyld: NSLinkModule() error
> dyld: Symbol not found: _rl_filename_completion_function
> Referenced from:
> /usr/local/lib/ruby/1.8/powerpc-darwin8.6.0/readline.bundle
> Expected in: flat namespace
>
> rake aborted!
> Command failed with status (): [/usr/local/bin/ruby -Ilib:test
> "/usr/local...]
> /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/testtask.rb:117:in
> `define''
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:831:in
`verbose''
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/testtask.rb:102:in
> `define''
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute''
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute''
> /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:364:in
> `invoke_prerequisites''
> /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:363:in
> `invoke_prerequisites''
> /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''
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
> /usr/local/bin/rake:18
>
> 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
> well.
>
> But I still get the above error. Anyone know why?
>
> Thanks for helping.
>
> Chas. Munat
> Seattle
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails