Sitelet https://github.com/bcrypt-ruby/bcrypt-ruby/issues/72
Skip to content

Problem with bcrypt ruby gem and spree. #72

Description

@devkinoti

Hey
I am getting this error when it comes to installing spree....(I have checked with the spree issues board and been advised to check with you)

C:\Sites\mystore>spree install --auto-accept
gemfile spree
gemfile spree_gateway
gemfile spree_auth_devise
run bundle install from "."
Polyglot: found more than one candidate for bcrypt: C:/RailsInstaller/Ruby1.9.3
lib/ruby/gems/1.9.1/gems/bcrypt-ruby-3.1.0-x86-mingw32/lib/bcrypt, C:/RailsInst
ller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-3.1.0-x86-mingw32/lib/bcryp
.
Polyglot: found more than one candidate for C:/Sites/mystore/config/environment
rb: C:/Sites/mystore/config/environment.rb, C:/Sites/mystore/config/environment
rb.
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3.3/lib/polyglo
.rb:63:in require': cannot load such file -- 1.9/bcrypt_ext (LoadError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3. /lib/polyglot.rb:63:inrequire'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in block in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:234:inblock in load_dependency'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:639:in new_constants_in' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:234:inload_dependency'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-3 1.0-x86-mingw32/lib/bcrypt_ext.rb:2:in<top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3.
/lib/polyglot.rb:63:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3. /lib/polyglot.rb:63:inrequire'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in block in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:234:inblock in load_dependency'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:639:in new_constants_in' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:234:inload_dependency'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-3 1.0-x86-mingw32/lib/bcrypt.rb:12:in<top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3.
/lib/polyglot.rb:63:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3. /lib/polyglot.rb:63:inrequire'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in block in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:234:inblock in load_dependency'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:639:in new_constants_in' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:234:inload_dependency'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/ ib/devise/models/database_authenticatable.rb:2:in<top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/
ib/devise/models.rb:97:in const_get' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/ ib/devise/models.rb:97:inblock (2 levels) in devise'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/
ib/devise/models.rb:92:in each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/ ib/devise/models.rb:92:inblock in devise'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/
ib/devise/models.rb:123:in devise_modules_hook!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/ ib/devise/models.rb:90:indevise'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/bundler/gems/spree
auth_devise-5826881e4743/app/models/spree/user.rb:5:in <class:User>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/bundler/gems/spree auth_devise-5826881e4743/app/models/spree/user.rb:2:inmodule:Spree'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/bundler/gems/spree
auth_devise-5826881e4743/app/models/spree/user.rb:1:in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:469:inload'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:469:in block in load_file' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:639:innew_constants_in'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:468:in load_file' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:353:inrequire_or_load'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:502:in load_missing_constant' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:192:inblock in const_missing'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:190:in each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:190:inconst_missing'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/inflector/methods.rb:230:in block in constantize' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/inflector/methods.rb:229:ineach'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/inflector/methods.rb:229:in constantize' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/core_ext/string/inflections.rb:54:inconstantize'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_core-2.
.3/lib/spree/core.rb:19:in user_class' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_core-2. .3/app/models/spree/order.rb:39:inclass:Order'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_core-2.
.3/app/models/spree/order.rb:5:in <module:Spree>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_core-2. .3/app/models/spree/order.rb:4:in<top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:469:in load' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:469:inblock in load_file'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:639:in new_constants_in' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:468:inload_file'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:353:in require_or_load' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:502:inload_missing_constant'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:192:in block in const_missing' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:190:ineach'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:190:in const_missing' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_api-2.0 3/app/models/spree/order_decorator.rb:1:in<top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:245:in load' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:245:inblock in load'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:236:in load_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:245:inload'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_api-2.0
3/lib/spree/api/engine.rb:23:in block in activate' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_api-2.0 3/lib/spree/api/engine.rb:22:inglob'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spree_api-2.0
3/lib/spree/api/engine.rb:22:in activate' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/callbacks.rb:429:in_run__558019735__prepare__603508
43__callbacks'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/callbacks.rb:405:in __run_callback' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/callbacks.rb:385:in_run_prepare_callbacks'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/callbacks.rb:81:in run_callbacks' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3. .13/lib/action_dispatch/middleware/reloader.rb:74:inprepare!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.
.13/lib/action_dispatch/middleware/reloader.rb:48:in prepare!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2. 3/lib/rails/application/finisher.rb:47:inblock in module:Finisher'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.
3/lib/rails/initializable.rb:30:in instance_exec' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2. 3/lib/rails/initializable.rb:30:inrun'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.
3/lib/rails/initializable.rb:55:in block in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2. 3/lib/rails/initializable.rb:54:ineach'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.
3/lib/rails/initializable.rb:54:in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2. 3/lib/rails/application.rb:136:ininitialize!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.
3/lib/rails/railtie/configurable.rb:30:in method_missing' from C:/Sites/mystore/config/environment.rb:5:in<top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3.
/lib/polyglot.rb:63:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3. /lib/polyglot.rb:63:inrequire'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in block in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport 3.2.13/lib/active_support/dependencies.rb:236:inload_dependency'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport
3.2.13/lib/active_support/dependencies.rb:251:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2. 3/lib/rails/application.rb:103:inrequire_environment!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.
3/lib/rails/commands.rb:25:in <top (required)>' from script/rails:6:inrequire'
from script/rails:6:in `

'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions