FAQ
I have the same issue, anyone get the solution?
Em sexta-feira, 5 de abril de 2013 20h06min44s UTC-3, Sunil Gowda escreveu:

I recently updated to Spree 1.3.1 and now trying to deploy to a production
environment. The asset precompile step is failing with the included error.
Looks like the @imports in spree_admin.scss are not being processed. Do I
need to do something to enable scss processing? It's been working in the
past before I updated to 1.3.1.

bundle exec rake RAILS_ENV=development RAILS_GROUPS=assets
assets:precompile --trace
WARNING: Nokogiri was built against LibXML version 2.8.0, but has
dynamically loaded 2.7.8
** Invoke assets:precompile (first_time)
** Execute assets:precompile
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
Undefined variable: "$actions".
(in
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/spree_core-1.3.1/app/assets/stylesheets/admin/components/_actions.scss)

/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/spree_core-1.3.1/app/assets/stylesheets/admin/components/_actions.scss:4
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/script/variable.rb:49:in
`_perform'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/script/node.rb:40:in
`perform'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:156:in
`visit_each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:37:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:100:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`block in visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`map'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:109:in
`block in visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:121:in
`with_environment'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:108:in
`visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:37:in
`block in visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:320:in
`visit_rule'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:37:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:100:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`block in visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`map'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:109:in
`block in visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:121:in
`with_environment'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:108:in
`visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:37:in
`block in visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:320:in
`visit_rule'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:37:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:100:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`block in visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`map'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:53:in
`visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:109:in
`block in visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:121:in
`with_environment'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:108:in
`visit_children'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:37:in
`block in visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:128:in
`visit_root'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/base.rb:37:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:100:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/visitors/perform.rb:7:in
`visit'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/tree/root_node.rb:20:in
`render'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/engine.rb:315:in
`_render'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-3.2.7/lib/sass/engine.rb:262:in
`render'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sass-rails-3.2.6/lib/sass/rails/template_handlers.rb:106:in
`evaluate'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/tilt-1.3.6/lib/tilt/template.rb:77:in
`render'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/context.rb:193:in
`block in evaluate'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in
`each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in
`evaluate'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb:12:in
`initialize'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in
`new'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:249:in
`block in build_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:270:in
`circular_call_protection'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:248:in
`build_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in
`block in build_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in
`cache_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in
`build_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in
`find_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in
`find_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb:16:in
`initialize'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in
`new'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in
`build_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in
`block in build_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in
`cache_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in
`build_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in
`find_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in
`find_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/environment.rb:78:in
`find_asset'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:19:in
`block in compile'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in
`block in each_logical_path'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in
`block (2 levels) in each_file'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in
`each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in
`each_entry'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in
`block in each_file'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in
`each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in
`each_file'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in
`each_logical_path'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:18:in
`compile'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/sprockets/assets.rake:56:in
`internal_precompile'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/sprockets/assets.rake:70:in
`block (3 levels) in <top (required)>'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:246:in
`call'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:246:in
`block in execute'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:241:in
`each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:241:in
`execute'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:184:in
`block in invoke_with_call_chain'
/Users/sunilgowda/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in
`mon_synchronize'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:177:in
`invoke_with_call_chain'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:170:in
`invoke'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/sprockets/assets.rake:60:in
`block (3 levels) in <top (required)>'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:246:in
`call'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:246:in
`block in execute'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:241:in
`each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:241:in
`execute'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:184:in
`block in invoke_with_call_chain'
/Users/sunilgowda/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in
`mon_synchronize'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:177:in
`invoke_with_call_chain'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:170:in
`invoke'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/sprockets/assets.rake:23:in
`invoke_or_reboot_rake_task'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:in
`block (2 levels) in <top (required)>'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:246:in
`call'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:246:in
`block in execute'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:241:in
`each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:241:in
`execute'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:184:in
`block in invoke_with_call_chain'
/Users/sunilgowda/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in
`mon_synchronize'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:177:in
`invoke_with_call_chain'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/task.rb:170:in
`invoke'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:143:in
`invoke_task'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:101:in
`block (2 levels) in top_level'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:101:in
`each'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:101:in
`block in top_level'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:110:in
`run_with_threads'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:95:in
`top_level'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:73:in
`block in run'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:160:in
`standard_exception_handling'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/lib/rake/application.rb:70:in
`run'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/gems/rake-10.0.4/bin/rake:33:in
`<top (required)>'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/bin/rake:19:in `load'
/Users/sunilgowda/.rvm/gems/ruby-1.9.3-p125/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile:primary

--
Don't miss SpreeConf on May 20-21: http://spreeconf.com
Spree is hiring: http://spreecommerce.com/careers

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedMay 7, '13 at 6:31a
activeMay 7, '13 at 6:31a
posts1
users1
websitespreecommerce.com
irc#RubyOnRails

1 user in discussion

Matheus Caceres: 1 post

People

Translate

site design / logo © 2022 Grokbase