Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6605621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:18:20+00:00 2026-05-25T19:18:20+00:00

Here is my terminal output. Anand@luckydev:~ $ which ruby /usr/local/bin/ruby Anand@luckydev:~ $ rvm list

  • 0

Here is my terminal output.

 Anand@luckydev:~ $ which ruby
/usr/local/bin/ruby
 Anand@luckydev:~ $ rvm list

rvm rubies

   jruby-1.6.2 [ darwin-x86_64-java ]
   ruby-1.8.7-p334 [ x86_64 ]
=> ruby-1.9.2-p180 [ x86_64 ]

 Anand@luckydev:~ $ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.3.2]

This is the problem I have. I’m running MacOSX Lion. And when I run system ruby, it gives me this.

 Anand@luckydev:~ $ which ruby
/usr/local/bin/ruby
 Anand@luckydev:~ $ ruby -e "puts 'hello'"
hello

But when I run using rvm ruby,

 Anand@luckydev:~ $ rvm use 1.9.2-p180
Using /Users/Anand/.rvm/gems/ruby-1.9.2-p180
dyld: Library not loaded: /Users/lakshman/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.1.9.1.dylib
  Referenced from: /Users/Anand/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
  Reason: image not found
ruby-1.9.2-p180 Anand@luckydev:~ $ ruby -e "puts 'hello'"
dyld: Library not loaded: /Users/lakshman/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.1.9.1.dylib
  Referenced from: /Users/Anand/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
  Reason: image not found
Trace/BPT trap: 5
dyld: Library not loaded: /Users/lakshman/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.1.9.1.dylib
  Referenced from: /Users/Anand/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
  Reason: image not found

My home directory used to be /Users/lakshman. I changed it to /Users/Anand. I updated ~/.rvmrc to reflect the new rvm_path also.

 Anand@luckydev:~ $ cat .rvmrc
export rvm_path="/Users/Anand/.rvm"

When I use system ruby, things are fine. But when I start using rvm, it throws me error that it cannot pickup that library file pointed by DYLD_LIBRARY_PATH (I assume from error message).

How do i update it to take it from /Users/Anand. I tried setting it manually by exporting DYLD_LIBRARY_PATH to take the new path. But this didn’t help.

Also, I don’t think this is gonna be manually set. rvm must be setting this automatically as I switch between different rubies.

Please help…..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:18:20+00:00Added an answer on May 25, 2026 at 7:18 pm

    I think you have to remove the .rvm folder and rebuild your rvm installation/rubies. The binary ruby is linked against an absolute path that is no longer existent. I’d just do that and take the opportunity to install ruby 1.9.2 290 which has some performance increases.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a little program: #!/usr/bin/env python # -*- encoding: utf-8 -*- print('abcd kΩ ☠
Here's the command I'm typing in a Terminal window: afconvert -f caff -d LEI16@44100
I've got 256 colors working great in my terminal ( test scripts here ),
Here is my code, which takes two version identifiers in the form 1, 5,
What do i do to solve it? Terminal output is: abhi@abhi-desktop:~/Desktop/sslstrip-0.1$ python sslstrip.py --listen=3130
I'm using QWINSTA.EXE to get the session/user list from a terminal server on our
I am developing an application, in which I want to redirect the output (progress
Here is a small contrived program which prints the integer just typed to the
Does anyone know of a way to read in terminal output from bash commands
Here's a basic regex technique that I've never managed to remember. Let's say I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.