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 1078319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:42:21+00:00 2026-05-16T21:42:21+00:00

I am getting a segmentation fault. Should which ruby return /usr/local/bin? maletor$ rails generate

  • 0

I am getting a segmentation fault. Should which ruby return /usr/local/bin?

maletor$ rails generate mailer ContactMailer
    /Users/maletor/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.4/lib/mysql2/mysql2.bundle: [BUG] **Segmentation fault**
    ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

Abort trap

maletor$ which rails
/usr/bin/rails

maletor$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-darwin10.4.0]
  - INSTALLATION DIRECTORY: /Users/maletor/.rvm/gems/ruby-1.9.2-p0
  - RUBY EXECUTABLE: /Users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/maletor/.rvm/gems/ruby-1.9.2-p0/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-10
  - GEM PATHS:
     - /Users/maletor/.rvm/gems/ruby-1.9.2-p0
     - /Users/maletor/.rvm/gems/ruby-1.9.2-p0@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => false
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "-n/usr/local/bin"
  - REMOTE SOURCES:
     - http://rubygems.org/

maletor$ echo $PATH
/Users/maletor/.rvm/gems/ruby-1.9.2-p0/bin:/Users/maletor/.rvm/gems/ruby-1.9.2-p0@global/bin:/Users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin:/Users/maletor/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

maletor$ which gem
/Users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin/gem

maletor$ ls ~/.rvm/rubies/ruby-1.9.2-p0/bin/
erb gem irb rake    rdoc    ri  ruby    testrb

maletor$ rails -v
Rails 3.0.0

maletor$ which rails
/usr/bin/rails
  • 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-16T21:42:21+00:00Added an answer on May 16, 2026 at 9:42 pm

    There’s a problem with you RVM installation. which should return

    /Users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
    

    Upgrade to the latest RVM installation. There was a bug in the 1.0 release with “shell path caching”.

    $ rvm get head
    $ rvm reload
    $ rvm repair all
    $ rvm use 1.9.2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've a 'C' program which has encountered a strange problem.. I'm getting segmentation fault
I´m getting a segmentation fault with a pointer when it´s declared as local. The
I am getting segmentation fault in this code but i cant figure out why.
Why am I getting segmentation fault? I ran it with gdb and it crashing
Getting a segmentation fault for the following code. Please advise. struct columns { char*
I am getting a segmentation fault and I cannot figure out why. I have
I'm getting a segmentation fault the first time I call malloc() after I protect
I am getting a segmentation fault from bash when I try to SSH to
I'm getting a segmentation fault everytime i want to run this code : from
I am getting a segmentation fault with the following code after adding structs to

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.