-
Notifications
You must be signed in to change notification settings - Fork 495
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
Gems issue #48
Comments
Which version of Spree are you using? If you're using 1.2, please use the 1-2-stable branch of spree_auth_devise and run Thanks! |
Sorry i forgot that part, I use 1.2 but when i run bundle update i get this error: Bundler could not find compatible versions for gem "devise":
|
Could you please show me your Gemfile? On Wed, Jan 23, 2013 at 10:25 AM, Omar Salas Vega
|
source 'https://rubygems.org' gem 'rails', '3.2.8' Bundle edge Rails instead:gem 'rails', :git => 'git://github.com/rails/rails.git'gem 'mysql2' Gems used only for assets and not requiredin production environments by default.group :assets do See https://github.com/sstephenson/execjs#readme for more supported runtimesgem 'therubyracer', :platforms => :ruby gem 'uglifier', '>= 1.0.3' gem 'jquery-rails' To use ActiveModel has_secure_passwordgem 'bcrypt-ruby', '~> 3.0.0'To use Jbuilder templates for JSONgem 'jbuilder'Use unicorn as the app servergem 'unicorn'Deploy with Capistranogem ''To use debuggergem 'debugger'gem 'spree', '1.2.0' |
This line is the culprit:
The 1-2-stable version of spree_auth_devise uses an older Devise version, which doesn't need this gem installed. Remove that line and you should be good to go. |
That worked great, thank you. |
Hi, i have a little problem
When i try using the branch 'master' i get this error
uninitialized constant Spree::Core::ControllerHelpers::Order /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_auth_devise-53b5d2e934a7/app/helpers/spree/current_order_decorator.rb:1:in
<top (required)>'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_auth_devise-53b5d2e934a7/lib/spree/auth/engine.rb:13:in
block in activate' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_auth_devise-53b5d2e934a7/lib/spree/auth/engine.rb:12:in
glob'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_auth_devise-53b5d2e934a7/lib/spree/auth/engine.rb:12:in
activate' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:495:in
_run__2503917921596617891__prepare__403513826735000885__callbacks'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in
_run_prepare_callbacks'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:74:in
prepare!'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:48:in
prepare!' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application/finisher.rb:47:in
block in module:Finisher'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:30:in
instance_exec' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:30:in
run'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:55:in
block in run_initializers' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:54:in
each'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb:54:in
run_initializers' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:136:in
nitialize!'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
method_missing' /Users/omarsve/projects/shopping-spree/store/config/environment.rb:5:in
<top (required)>'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/polyglot-0.3.3/lib/polyglot.rb:63:in (
)require' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/polyglot-0.3.3/lib/polyglot.rb:63:in (
)require'/Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:103:in
require_environment!' /Users/omarsve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:295:in
block (2 levels) in initialize_tasks'Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)`
Your documentation said that this could be fixed using the branch '1-2-stable' but when i use that branch i get this error trying to run the bundle install
The text was updated successfully, but these errors were encountered: