2

I'm trying to install Twitter-Bootstrap-Rails gem on Mac OSX Lion. I added the twitter-bootsrap line to my Gemfile, but when I run bundle install, it's failing due to an issue with therubyracer gem.

....rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.

I already have developer tools running, and XCode 4.3.2. I'm running Rails 3.2 and Ruby 1.9.2p318.

Any idea why the compiler might be failing for this gem install or how I can fix?

5

1 Answer 1

-2
gem install therubyracer

or

gem 'therubyracer'

works for me on linux.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.