SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Unable to get irb working!

    Greetings everyone,

    I am unable to get the Interactive Ruby Shell (irb) to work...

    On entering irb in the Terminal (Mac OS X 10.5.4), I get the following error:

    Code:
    dyld: NSLinkModule() error
    dyld: Symbol not found: _rl_completion_matches
      Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin9.4.0/readline.bundle
      Expected in: flat namespace
    
    Trace/BPT trap
    Any help please!!!

  2. #2
    SitePoint Enthusiast AllTom's Avatar
    Join Date
    Feb 2008
    Location
    Wherever danger lies...
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's a really weird error. I would try reinstalling Ruby.
    There are some things you shouldn't try to code at home.

  3. #3
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy

    Thank you for the post, I tried by re-installing Ruby but it still doesn't work and I get the same error.

    Any ideas?

    Many thanks,

  4. #4
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try reinstalling readline?

  5. #5
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for post Fenrir2, I reinstalled readline too, still the irb doesn't work!

    By the way, this is my application environment:

    Code:
    Ruby version	1.8.6 (powerpc-darwin9.4.0)
    RubyGems version	1.0.1
    Rails version	2.1.0
    Active Record version	2.1.0
    Action Pack version	2.1.0
    Active Resource version	2.1.0
    Action Mailer version	2.1.0
    Active Support version	2.1.0
    Application root	/Users/coffee/build/shovell
    Environment	development
    Database adapter	mysql
    Database schema version	0

  6. #6
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This page talks about readline problems on OS X and how to fix it: http://hammer.prohosting.com/~theane...Rails/osx.html

    Does that work?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •