Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spree install generator raises a polyglot issue #3331

Closed
devkinoti opened this issue Jul 7, 2013 · 15 comments
Closed

Spree install generator raises a polyglot issue #3331

devkinoti opened this issue Jul 7, 2013 · 15 comments

Comments

@devkinoti
Copy link

I keep getting this when i run spree install

Polyglot: found more than one candidate for C:/Sites/mystore8/config/environment.rb: C:/Sites/mystore8/config/environment.rb,C:/Sites/mystore8/config/environment.rb

How do i solve this?

@radar
Copy link
Contributor

radar commented Jul 7, 2013

What is config/environment.eb? 

Sent from Mailbox for iPad

On Sun, Jul 7, 2013 at 9:02 PM, devkinoti notifications@github.com
wrote:

I keep getting this when i run spree install
Polyglot: found more than one candidate for C:/Sites/mystore8/config/environment.eb: C:/Sites/mystore8/config/environment.rb,C:/Sites/mystore8/config/environment.rb

How do i solve this?

Reply to this email directly or view it on GitHub:
#3331

@devkinoti
Copy link
Author

its a typo meant .rb

@radar
Copy link
Contributor

radar commented Jul 7, 2013

Is that the complete error message? Just those lines?

On Mon, Jul 8, 2013 at 1:59 AM, devkinoti notifications@github.com
wrote:

its a typo meant .rb

Reply to this email directly or view it on GitHub:
#3331 (comment)

@devkinoti
Copy link
Author

Its the main error,it prints out the normal trace whenever an error occurs in RoR . What do you think might be causing this?
thanks in advance,
cheers

@radar
Copy link
Contributor

radar commented Jul 8, 2013

Please show the "normal" trace that you're talking about. I need as much information as you can give me in order to debug this problem. With just one or two lines, it's basically impossible for anybody to be able to debug this problem just from looking at it.

@devkinoti
Copy link
Author

Tried to solve it,now its giving me this

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 `

'

@radar
Copy link
Contributor

radar commented Jul 8, 2013

This is likely a problem with the BCrypt-ruby gem. Please file an issue on the GitHub project. This is the second time I have seen that specific error happen.

On Mon, Jul 8, 2013 at 5:55 PM, devkinoti notifications@github.com
wrote:

Tried to solve it,now its giving me this
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 `'

Reply to this email directly or view it on GitHub:
#3331 (comment)

@devkinoti
Copy link
Author

thanks

@devkinoti
Copy link
Author

Running a bundle update with bcrypt-ruby version 3.0.1 instead of 3.1.0 solves the above issue

@radar
Copy link
Contributor

radar commented Jul 8, 2013

I'm going to put this down to a bcrypt-ruby bug then.

@radar radar closed this as completed Jul 8, 2013
@tjschuck
Copy link

@radar This is an issue with the compiled Windows binary of bcrypt-ruby. I'm working on solving it -- see bcrypt-ruby/bcrypt-ruby#72 for more info moving forward.

@radar
Copy link
Contributor

radar commented Jul 10, 2013

Great, thanks for the heads up @tjschuck.

@tjschuck
Copy link

This is now fixed in version 3.1.1 of bcrypt-ruby. Thanks for sending the issue our way, @radar!

@katznap
Copy link

katznap commented Jul 12, 2013

I've been searching for a solution for a couple of nights and almost had given up on Spree extension. I shall try out bcrypt-ruby 3.1.1. Many thanks from a newbie.

@radar
Copy link
Contributor

radar commented Jul 12, 2013

Glad you didn't give up then @katznap :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants