Comments (14)
Could you please show us your Gemfile?
from spree_auth_devise.
I guess spree_flexi_variants
could be breaking something as it overrides a bunch of stuff, though that hasn't been updated in a while. Thanks.
source 'https://rubygems.org'
ruby '1.9.3'
# gem 'rails', '3.2.1'
gem 'rails-i18n' #needed, despite what guide says
gem 'spree_i18n', :git => 'git://github.com/spree/spree_i18n.git'
gem 'rmagick'
gem 'carrierwave'
gem 'spree_flexi_variants', :git=>'git://github.com/jsqu99/spree_flexi_variants.git'
gem 'import_products', :git => 'git://github.com/sfcgeorge/spree-import-products.git', :branch => 'spree-1-0-rake'
# gem 'spree_product_groups', :git => '[email protected]:spree/spree_product_groups.git'
gem 'spree_static_content', :git => 'git://github.com/spree/spree_static_content.git', :branch => '1-3-stable'
gem 'spree_fancy', :git => 'git://github.com/spree/spree_fancy.git'
gem 'delayed_job_active_record'
gem 'workless', '~> 1.0.1'
gem 'pg'
group :assets do
gem 'compass-rails'
gem 'sass-rails'
gem 'coffee-rails'
gem 'jquery-rails'
gem 'uglifier', '>= 1.0.3'
end
gem 'haml'
gem 'unicorn'
gem 'spree_skrill'
gem 'spree_auth_devise', :git => 'git://github.com/spree/spree_auth_devise'
gem 'spree', '~> 1.3.2'
from spree_auth_devise.
I have just reproduced this issue with an empty Rails app + spree + spree_auth_devise. My Gemfile is:
source 'https://rubygems.org'
ruby "1.9.3"
gem 'rails', '3.2.12'
gem 'mysql2'
gem 'spree', :git => 'git://github.com/spree/spree.git'
gem "spree_auth_devise", :git => "git://github.com/spree/spree_auth_devise"
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'`
from spree_auth_devise.
I think the first commit that introduce the issue is this one 954c1ce
With the gem referenced to the previous commit (cf0500a) everything works fine...
gem "spree_auth_devise", :git => "git://github.com/spree/spree_auth_devise", :ref => "cf0500a2faa1320a0f69224d79aea1f815a47693"
from spree_auth_devise.
The Spree::StoreHelper module is definitely included in the master branch
and I am unable to reproduce this issue in my edge app. Do either of you
you have an app that reproduces this issue that I can clone from GitHub?
On Wed, Feb 13, 2013 at 4:18 AM, Alfredo [email protected] wrote:
I think the first commit that introduce the issue is this one 954c1cehttps://github.com/spree/spree_auth_devise/commit/954c1ceac32718886392eb552eb9b5ad293c6078
With the gem referenced to the previous commit (cf0500ahttps://github.com/spree/spree_auth_devise/commit/cf0500a2faa1320a0f69224d79aea1f815a47693)
everything works fine...gem "spree_auth_devise", :git => "git://github.com/spree/spree_auth_devise", :ref => "cf0500a2faa1320a0f69224d79aea1f815a47693"
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-13443858.
from spree_auth_devise.
@cantorrodista Please could you push that empty app up to GitHub? It looks nice and simple. My app is getting a little complicated and for a client but I could probably push it up if need be. Though again, it ran fine locally anyway. My Ruby patch level is a little different from Heroku, I could try changing that though I doubt that would affect something as simple as a require. And thanks for the fast replies as always @radar !
from spree_auth_devise.
Yes, you can check the app here:
https://github.com/cantorrodista/spree_devise_test
from spree_auth_devise.
I have the same problem in a new and empty app,
source 'https://rubygems.org'
gem 'rails', '3.2.12'
gem 'pg'
gem 'jquery-rails'
gem 'spree', '1.3.2'
gem 'thin'
gem "spree_auth_devise", :git => "git://github.com/spree/spree_auth_devise"
group :assets do
gem 'sass-rails', '> 3.2.3'> 3.2.1'
gem 'coffee-rails', '
gem 'uglifier', '>= 1.0.3'
end
from spree_auth_devise.
@igmarin: You're using Spree 1.3.2 and the master branch of spree_auth_devise, which are incompatible with each other. Please use the 1-3-stable branch with 1.3.x Spree versions.
from spree_auth_devise.
@cantorrodista That looks like a Spree 1.3 generated app, because it's attempting to require the store/spree_core
asset. Is this true?
from spree_auth_devise.
I cannot reproduce this problem on the app provided by @cantorrodista (after fixing up the asset requires).
Please ensure you're using the correct branch of spree_auth_devise relative to your version of spree.
Spree master: Master branch of spree_auth_devise
Spree 1.3.x or 1-3-stable: 1-3-stable branch of spree_auth_devise
Spree 1.2.x or 1-2-stable: 1-2-stable branch of spree_auth_devise.
Thank you.
from spree_auth_devise.
Ryan, I see this problem in quite a different place: When running specs for an extension. It seems to be something in spec/dummy
that is causing the issue.
Steps to reproduce:
- Generate new extension using spree gem (1.3.2)
- generate a test app for the extension with
rake test_app
- Create a new spec file and add
require 'spec_helper'
to it. - Run
rspec
from the extensions root directory. - See the following: https://gist.github.com/LBRapid/4956559
Edit: I think the issue might be related to the sandbox generator (I think that's used when creating a test app) in our released gem. I recall that in the generated Gemfile we were pointing at the wrong branch of spree_auth_devise
. I had changed that with spree/spree@591ae4c
from spree_auth_devise.
@LBRapid I think that problem is definitely related.
I've got a fix in to 1-3-stable and another for 1-2-stable which should stop both branches from using the wrong version of spree_auth_devise when using extensions.
from spree_auth_devise.
The problem, or a variation of the same, appears to still be there, 9 years later.
from spree_auth_devise.
Related Issues (20)
- Missing 'coffee_script' dependency HOT 2
- login error devise 4.3.0 HOT 10
- Authorization failure page is rendered for not authenticated user
- Spree::Api 'checkouts#update' in production mode causes exception in Metal decorator HOT 1
- Bypass option is deprecated
- Multiple issues with specs
- Login without email impossible due to unique index on `email` column
- Devise Syntax Error HOT 2
- customize user confirmation email url HOT 1
- How can I set up the devise lockable module?
- Alerts are duplicated
- Users can't be really destroyed
- Order token is persisted on logout
- No Way For Users To Re-send The Account Confirmation Email HOT 1
- UserRegistrationsController won't inherit from Spree::BaseController
- 2-Factor Authentication HOT 2
- ArgumentError:wrong number of arguments (given 0, expected 1) on Spree::User#send_confirmation_instructions (spree_auth_devise 4.3.0) HOT 6
- Spree backend user session fallback root path is not admin_path
- Uninitialized constant Spree::UsersController with spree legacy frontend HOT 2
- 4.5.0 breaks rails version resolution (bundler) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spree_auth_devise.