codahale/bcrypt-ruby — Issue #36: Unable to install version 2.1.4 on Rails 3.0.10 Mac OS10.6.8
Author: Dreyfuzz
Created: 2011-10-25 19:20:00+00:00
State: open

I'm using a Refinery CMS app that contains bcrypt-ruby-2.1.4. I pulled the db down from Heroku this morning. Attempt to start server said I didn't have bcrypt, so I bundle install, resulting in:

Installing bcrypt-ruby (2.1.4) with native extensions /Users/techteach/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/techteach/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
creating Makefile
make
Makefile:148: *** target pattern contains no `%'. Stop.

Gem files will remain installed in /Users/techteach/Dropbox/code/ctkschool/git:/github.com/newrelic/rpm.git/ruby/1.9.1/gems/bcrypt-ruby-2.1.4 for inspection.
Results logged to /Users/techteach/Dropbox/code/ctkschool/git:/github.com/newrelic/rpm.git/ruby/1.9.1/gems/bcrypt-ruby-2.1.4/ext/mri/gem_make.out
from /Users/techteach/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:529:in `block in build_extensions'
from /Users/techteach/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `each'
from /Users/techteach/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `build_extensions'
from /Users/techteach/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/source.rb:101:in `block in install'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/source.rb:91:in `install'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:57:in `block in run'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:49:in `run'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:8:in `install'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/cli.rb:220:in `install'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/base.rb:386:in `start'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/bin/bundle:13:in `'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `load'
from /Users/techteach/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `

'