Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't install Ruby or Rails using RVM : ERROR: There has been an error while running configure. Halting the installation
    primarykey
    data
    text
    <p>Here is what I ran:</p> <pre><code>rvm install ruby-1.9.2-p290 </code></pre> <p>I have xCode 4 installed. And I am running OSX 10.6.7</p> <p>Here is the error I get </p> <pre><code>ruby-1.9.2-p290 - #configuring ERROR: Error running ' ./configure --prefix=/Users/jac/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/jac/.rvm/usr ', please read /Users/jac/.rvm/log/ruby-1.9.2-p290/configure.log ERROR: There has been an error while running configure. Halting the installation. </code></pre> <p>Here are the last parts of the log file </p> <pre><code>checking for working volatile... yes checking whether right shift preserve sign bit... yes checking read count field in FILE structures... _r checking read buffer ptr field in FILE structures... _p checking size of struct stat.st_ino... SIZEOF_LONG checking whether _SC_CLK_TCK is supported... yes checking stack growing direction on i386... -1 checking for backtrace... yes checking whether ELF binaries are produced... no checking whether OS depend dynamic link works... yes checking for strip... strip configure: error: thread model is missing </code></pre> <p>I'll tell ya I never post question anywhere because I can usually figure stuff out eventually. But I am not seeing anyone having this specific error anywhere. I see similar things about not having XCode... But I have that. </p> <p>EDIT: I ran into this problem because I thought I had everything set up but when I tried to make a new project I ran into this: rails new demo</p> <p>/Library/Ruby/Site/1.8/rubygems/dependency.rb:247:in <code>to_specs': Could not find rails (&gt;= 0) amongst [rake-0.8.7, rake-0.8.7] (Gem::LoadError) from /Library/Ruby/Site/1.8/rubygems/dependency.rb:256:in</code>to_spec' from /Library/Ruby/Site/1.8/rubygems.rb:1195:in `gem' from /usr/bin/rails:18</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload