Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ruby 1.8.3 Issues

7 views
Skip to first unread message

James Edward Gray II

unread,
Sep 20, 2005, 11:14:26 PM9/20/05
to
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

Robby Russell

unread,
Sep 20, 2005, 11:16:27 PM9/20/05
to

I had similar problems. Every Rails app I tried died...

My advice:

cd ../ruby-1.8.2/; ./configure && make && make install

That's what I just had to do. No ruby 1.8.3 for me yet. :-/

-Robby

--
/******************************************************
* Robby Russell, Owner.Developer.Geek
* PLANET ARGON, Open Source Solutions & Web Hosting
* Portland, Oregon | p: 503.351.4730 | f: 815.642.4068
* www.planetargon.com | www.robbyonrails.com
*******************************************************/

James Edward Gray II

unread,
Sep 20, 2005, 11:19:28 PM9/20/05
to
On Sep 20, 2005, at 10:14 PM, James Edward Gray II wrote:

> 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


David A. Black

unread,
Sep 20, 2005, 11:35:16 PM9/20/05
to
Hi --

On Wed, 21 Sep 2005, James Edward Gray II wrote:

> 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

--
David A. Black
dbl...@wobblini.net


Robby Russell

unread,
Sep 20, 2005, 11:40:12 PM9/20/05
to

Sounds like some of us Rails folks need to be testing out the Ruby beta
versions before we let the Ruby team release anything. :-)

James Edward Gray II

unread,
Sep 21, 2005, 8:48:51 AM9/21/05
to

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

nobu....@softhome.net

unread,
Sep 21, 2005, 9:29:50 AM9/21/05
to
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?

--
Nobu Nakada


James Edward Gray II

unread,
Sep 21, 2005, 9:53:26 AM9/21/05
to

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

0 new messages