Everything works fine in development but when I run git push heroku master I get the following error:
''' rake aborted!
Sass::SyntaxError: Undefined variable: "$c_blue".
(in /tmp/build_8b4936d4-2a77-430f-a5d6-0aaaae349c2c/app/assets/stylesheets/spree/fancy/shared
/_layout.scss:2)
/tmp/build_8b4936d4-2a77-430f-a5d6-0aaaae349c2c/app/assets/stylesheets/spree/fancy/shared/_la
yout.scss:2'''
I am not sure why this is happening since spree_fancy has the variable defined in the variable.css.scss file. The files are being imported properly as far as I can see.. What might be the issue?
I get the same error when running bundle exec rake assets:precompile RAILS_ENV=production
'''rake aborted!
Sass::SyntaxError: Undefined variable: "$c_blue".
(in c:/Users/Javi/Desktop/rails_projects/surplusmerchant2/app/assets/stylesheets/spree/fancy/share
d/_layout.scss:2)
c:/Users/Javi/Desktop/rails_projects/surplusmerchant2/app/assets/stylesheets/spree/fancy/shared/_lay
out.scss:2
Tasks: TOP => assets:precompile'''
Here is my Gemfile.lock in a gist https://gist.github.com/vike27/fa6e65d28098037b6181
Here is my Gemfile in a gist https://gist.github.com/vike27/017214ea8458495467aa
This is the trace after running git push heroku master: https://gist.github.com/vike27/e20894f45762dd18b7d2
This is the trace after running bundle exec rake assets:precompile RAILS_ENV=production : https://gist.github.com/vike27/a66e16fc76956d100e67