GithubHelp home page GithubHelp logo

Comments (14)

radar avatar radar commented on May 30, 2024

Could you please show us your Gemfile?

from spree_auth_devise.

sfcgeorge avatar sfcgeorge commented on May 30, 2024

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.

cantorrodista avatar cantorrodista commented on May 30, 2024

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.

cantorrodista avatar cantorrodista commented on May 30, 2024

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.

radar avatar radar commented on May 30, 2024

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.

sfcgeorge avatar sfcgeorge commented on May 30, 2024

@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.

cantorrodista avatar cantorrodista commented on May 30, 2024

Yes, you can check the app here:

https://github.com/cantorrodista/spree_devise_test

from spree_auth_devise.

igmarin avatar igmarin commented on May 30, 2024

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'
gem 'coffee-rails', '
> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end

from spree_auth_devise.

radar avatar radar commented on May 30, 2024

@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.

radar avatar radar commented on May 30, 2024

@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.

radar avatar radar commented on May 30, 2024

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.

LBRapid avatar LBRapid commented on May 30, 2024

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:

  1. Generate new extension using spree gem (1.3.2)
  2. generate a test app for the extension with rake test_app
  3. Create a new spec file and add require 'spec_helper' to it.
  4. Run rspec from the extensions root directory.
  5. 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.

radar avatar radar commented on May 30, 2024

@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.

piousbox avatar piousbox commented on May 30, 2024

 2022-10-19 a la(s) 1214

The problem, or a variation of the same, appears to still be there, 9 years later.

from spree_auth_devise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.