Skip to content

Instantly share code, notes, and snippets.

@heridev
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heridev/9691733 to your computer and use it in GitHub Desktop.
Save heridev/9691733 to your computer and use it in GitHub Desktop.
Problems in spree and rails
uninitialized constant Spree::Core::S3Support
Just remove the two lines from 
app/models/spree/banner_box.rb
-    include Spree::Core::S3Support
-    supports_s3 :attachment
and implement paperclip in the following way:
undefined method `environment' for nil:NilClass
To fix it i just update sass-rails in my Gemfile
gem 'sass-rails', '~> 4.0.2'

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