Ruby 1.8.3 Issues

  • Thread starter James Edward Gray II
  • Start date
J

James Edward Gray II

I just recompiled Ruby and I'm seeing a lot of issues already.

IRb is the first crisis I really need to tackle. Are these error
messages making sense to anyone who can give me some clues?

Should I need to reinstall my gems, like Rails?

Neo:~/Desktop/ruby-1.8.3$ ruby -v
ruby 1.8.3 (2005-09-21) [powerpc-darwin8.2.0]
Neo:~/Desktop/ruby-1.8.3$ irb
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.2.0/
readline.bundle
Expected in: flat namespace

Trace/BPT trap
Neo:~/Desktop/ruby-1.8.3$ rails
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/
active_support/clean_logger.rb:13:in `remove_const': constant
Logger::Format not defined (NameError)
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/
lib/active_support/clean_logger.rb:13
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/
lib/active_support.rb:31
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/
lib/active_record.rb:29
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:182:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:181:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in
`require_gem'
from /usr/local/bin/rails:17

Thanks for any advice.

James Edward Gray II
 
J

James Edward Gray II

Neo:~/Desktop/ruby-1.8.3$ irb
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.2.0/
readline.bundle
Expected in: flat namespace

Trace/BPT trap

Following up on this:

Neo:~$ ruby -r readline -e1
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.2.0/
readline.bundle
Expected in: flat namespace

Trace/BPT trap

Looks like my readline support is broken. I know I've compiled it in
before. Any guesses?

James Edward Gray II
 
D

David A. Black

Hi --

I just recompiled Ruby and I'm seeing a lot of issues already.

/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/
active_support/clean_logger.rb:13:in `remove_const': constant Logger::Format
not defined (NameError)

This one is because Logger::Format is now Logger::Formatter::Format.
(Which is, of course, just a diagnosis, not a solution. I think
something will have to change somewhere before Rails apps can run with
1.8.3.)


David
 
J

James Edward Gray II

Following up on this:

Neo:~$ ruby -r readline -e1
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.2.0/
readline.bundle
Expected in: flat namespace

Trace/BPT trap

Looks like my readline support is broken. I know I've compiled it
in before. Any guesses?

I've repaired my Readline install. It's broken under Mac OS X 10.4,
but these instructions got me past it:

http://tech.rufy.com/entry/46

That fixed IRb. Now I just need a Rails patch...

James Edward Gray II
 
N

nobu.nokada

Hi,

At Wed, 21 Sep 2005 12:14:26 +0900,
James Edward Gray II wrote in [ruby-talk:156903]:
Neo:~/Desktop/ruby-1.8.3$ ruby -v
ruby 1.8.3 (2005-09-21) [powerpc-darwin8.2.0]
Neo:~/Desktop/ruby-1.8.3$ irb
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.2.0/
readline.bundle
Expected in: flat namespace

Can you show mkmf.log under ext/readline?
 
J

James Edward Gray II

Hi --



This one is because Logger::Format is now Logger::Formatter::Format.
(Which is, of course, just a diagnosis, not a solution. I think
something will have to change somewhere before Rails apps can run with
1.8.3.)

Yeah, I made a patch for this this morning, only to learn that it has
already be sent in. :) Those Rails guys are quick.

James Edward Gray II
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,076
Latest member
OrderKetoBeez

Latest Threads

Top