Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Created July 28, 2011 13:49
Show Gist options
  • Save daviddavis/1111585 to your computer and use it in GitHub Desktop.
Save daviddavis/1111585 to your computer and use it in GitHub Desktop.
RVM error
[2011-07-28 09:48:14] ./configure --prefix=/Users/david/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/david/.rvm/usr
configure: WARNING: unrecognized options: --with-libyaml-dir
checking build system type... i386-apple-darwin11.0.0
checking host system type... i386-apple-darwin11.0.0
checking target system type... i386-apple-darwin11.0.0
checking whether the C compiler works... no
configure: error: in `/Users/david/.rvm/src/ruby-1.9.2-p290':
configure: error: C compiler cannot create executables
See `config.log' for more details
@nilbus
Copy link

nilbus commented Jul 30, 2011

Lion issue?

@daviddavis
Copy link
Author

Kind of. Turned out to be some arch flags I had set in my rvm config.

@tgandrews
Copy link

So removing the --with-libyaml-dir fixed it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment