Mac ruby 1.9.3p448 (2013-06-27 リビジョン 41675) で bcrypt-ruby - どのバージョンでも問題があります。bcrypt をインストールする場合 - Rspec は bcrypt-ruby もインストールするように要求します...(( なぜ? 私は Rails の最初にいます - M.Hartl を使用して....))
.'bcrypt-ruby'- をインストールした後私はすべてのバージョンを試してください - 私はこの結果を取ります:
$bundle install
.....
Using sass-rails 4.0.3
Using activeadmin 1.0.0.pre from git://github.com/gregbell/active_admin.git (at master)
Using bcrypt 3.1.7
Using bcrypt-ruby 3.1.5
Using bootstrap-sass 2.3.2.0
Using mini_portile 0.6.0
Using nokogiri 1.6.2.1
.....
$bundle exec rspec spec/
You don't have bcrypt-ruby installed in your application. Please add it to your Gemfile and run bundle install
/Users/alla/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/bundler-1.6.2/lib/bundler/rubygems_integration.rb:262:in `block in replace_gem': can't activate bcrypt-ruby (~> 3.0.0), already activated bcrypt-ruby-3.1.5. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
bundle show ['bcrypt-ruby']
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
どうした!?私はこのドキュメントですべてを行います^、しかし問題は消えません...