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

  • Home
  • SEARCH
  • 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 8466987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:30:42+00:00 2026-06-10T15:30:42+00:00

Running: Mac OS X Lion 10.7.4 xCode Version 4.4.1 Ruby 1.8.x Brew Rvm I’m

  • 0

Running:

  • Mac OS X Lion 10.7.4
  • xCode Version 4.4.1
  • Ruby 1.8.x
  • Brew
  • Rvm

I’m trying to install ruby on rails on my mac (above are my specs). But it doesn’t really come out the way it used to be. I tried several tutorials on the web including Stack Overflow.

As soon as I try:

$ sudo gem install rails

I get this error:

ERROR:  Error installing rails:
ERROR: Failed to build gem native extension.

Same with Ruby 1.9.2

EDIT
Error for installing ruby

Peter-Corverss-MacBook-Pro:~ Beer$ rvm install ruby-1.9.2-p290
Fetching yaml-0.1.4.tar.gz to /Users/Beer/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/Beer/.rvm/src
Configuring yaml in /Users/Beer/.rvm/src/yaml-0.1.4.
Error running './configure --prefix=/Users/Beer/.rvm/usr', please read /Users/Beer/.rvm/log/ruby-1.9.2-p290/yaml/configure.log
Compiling yaml in /Users/Beer/.rvm/src/yaml-0.1.4.
Error running 'make', please read /Users/Beer/.rvm/log/ruby-1.9.2-p290/yaml/make.log
Installing Ruby from source to: /Users/Beer/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)...

ruby-1.9.2-p290 - #downloading ruby-1.9.2-p290, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8604k  100 8604k    0     0   225k      0  0:00:38  0:00:38 --:--:--  202k
ruby-1.9.2-p290 - #extracting ruby-1.9.2-p290 to /Users/Beer/.rvm/src/ruby-1.9.2-p290
ruby-1.9.2-p290 - #extracted to /Users/Beer/.rvm/src/ruby-1.9.2-p290
ruby-1.9.2-p290 - #configuring 
Error running './configure --prefix=/Users/Beer/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/Beer/.rvm/usr', please read /Users/Beer/.rvm/log/ruby-1.9.2-p290/configure.log
There has been an error while running configure. Halting the installation.

Above code with some color (image):

enter image description here

This is the start for installing ruby and I can’t get it to work.

I really tried but I can’t fix the problem, hope someone could help me.

  • 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-06-10T15:30:44+00:00Added an answer on June 10, 2026 at 3:30 pm

    Yeah if you’re having trouble building ruby, you probably need the command line utilities from Xcode. Checkout: http://developer.apple.com/library/mac/#recipes/xcode_help-documentation_preferences/DownloadingandInstallingXcodeComponents/DownloadingandInstallingXcodeComponents.html

    It’s in the preferences pane with a downloads tab.

    After that installs, reopen terminal and try to install 1.9.2 through rvm again. If it doesnt install still, please comment and I’ll see if I can figure it out. If it does install, try installing both rails & bundler:

    rvm use ruby-1.9.2 --default
    gem install rails
    gem install bundler
    

    The first line will switch you into 1.9.2 and should set it up as your default environment.

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

Sidebar

Related Questions

I'm trying to install pyusb 0.4.3 on Mac OS X Lion 10.7.3 running Xcode
I'm trying to get rails running on my mac which is running lion. I'm
I am running Mac Tiger on my VMware, trying to install iphone SDK and
I'm trying to install Ruby 1.9.3 using rvm. However, when I type: rvm install
I've been working on installing Ruby on my mac, OSX Lion. I've installed XCode,
After a fresh install of Lion and Xcode 4.1 from the Mac App Store,
I'm trying to install GDAL 1.7.1 on Mac OS X Lion using: python setup.py
I have a Mac running Lion. Before I did a clean install of Lion,
I am running Mac OS X 10.7.2 (Lion). It came with ruby 1.8.7. I
On MAC OS X Lion - Running MAMP I'm trying to execute the following

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.