gregbell/active_admin — Issue #778: no such file to load -- bcrypt
Author: dev1987
Created: 2011-11-23 07:59:06+00:00
State: open

I am using activeadmin(0.3.4) along with rails 3.1.1
I am using windows to be my development. it's working fine in my development environment.

The issue came up when I was deploying with capristrano.

This error came up
no such file to load -- bcrypt

I am not sure how to fix the issue.
I am sure it is related to this (https://github.com/plataformatec/devise/issues/527)
but trying the suggestions from there the issue still remains.
thank you for you help.

Here is my gemfile -

source 'http://rubygems.org'

gem 'rails', '3.1.1'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'

# Gems used only for assets and not required
# in production environments by default.
group :assets do

gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end

group :development do
gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'
gem 'faker'
end
gem 'jquery-rails'
gem 'gravatar_image_tag'
gem 'will_paginate'
gem 'carrierwave'
gem 'sass-rails', '~> 3.1.4'
gem 'activeadmin'
gem 'meta_search'

# To use ActiveModel has_secure_password
gem 'bcrypt-ruby', :require => 'bcrypt'

# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
gem 'capistrano'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'

group :test do
# Pretty printed test output
gem 'turn', :require => false
end
group :production do
gem 'therubyracer'
gem 'mysql2'
end