mardi 16 juin 2015

rake assets:precompile --trace RAILS_ENV=production (error)

 rake assets:precompile --trace RAILS_ENV=production
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
Sass::SyntaxError: Invalid CSS after ".": expected class name, was "31{ position: r..."
  (in /home/sid/sites/mbalive/app/assets/stylesheets/application.css)
(sass):1625
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1147:in `expected'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1085:in `expected'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1067:in `expr!'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:710:in `class_selector'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:672:in `simple_selector_sequence'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:640:in `_selector'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:619:in `selector'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:603:in `selector_sequence'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:528:in `ruleset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:553:in `block_child'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:546:in `block_contents'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:82:in `stylesheet'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:27:in `parse'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/engine.rb:342:in `_to_tree'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/engine.rb:315:in `_render'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/engine.rb:262:in `render'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/sass_compressor.rb:24:in `evaluate'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:197:in `block in evaluate'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:in `each'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:in `evaluate'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/bundled_asset.rb:25:in `initialize'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:in `new'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:in `build_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:94:in `block in build_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/caching.rb:58:in `cache_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:93:in `build_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:287:in `find_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:61:in `find_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:211:in `block in find_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:257:in `benchmark'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:210:in `find_asset'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:119:in `block in compile'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:118:in `each'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:118:in `compile'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:70:in `block (3 levels) in define'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/rake/sprocketstask.rb:146:in `with_logger'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/home/sid/.rbenv/versions/2.1.2/bin/rake:23:in `load'
/home/sid/.rbenv/versions/2.1.2/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile

[Hi I am getting this error when entering this command in my terminal

rake assets:precompile --trace RAILS_ENV=production (error)!][1]

please help me Thankyou in advance

rake assets:precompile --trace RAILS_ENV=production ** Invoke assets:precompile (first_time) ** Invoke assets:environment (first_time) ** Execute assets:environment ** Invoke environment (first_time) ** Execute environment ** Execute assets:precompile rake aborted! Sass::SyntaxError: Invalid CSS after ".": expected class name, was "31{ position: r..." (in /home/sid/sites/mbalive/app/assets/stylesheets/application.css) (sass):1625 /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1147:in expected' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1085:inexpected' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1067:in expr!' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:710:inclass_selector' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:672:in simple_selector_sequence' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:640:in_selector' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:619:in selector' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:603:inselector_sequence' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:528:in ruleset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:553:inblock_child' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:546:in block_contents' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:82:instylesheet' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:27:in parse' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/engine.rb:342:in_to_tree' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/engine.rb:315:in _render' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.2.19/lib/sass/engine.rb:262:inrender' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/sass_compressor.rb:24:in evaluate' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:inrender' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:197:in block in evaluate' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:ineach' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:in evaluate' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/bundled_asset.rb:25:ininitialize' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:in new' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:inbuild_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:94:in block in build_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/caching.rb:58:incache_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:93:in build_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:287:infind_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:61:in find_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:211:inblock in find_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:257:in benchmark' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:210:infind_asset' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:119:in block in compile' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:118:ineach' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/manifest.rb:118:in compile' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:70:inblock (3 levels) in define' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/rake/sprocketstask.rb:146:in with_logger' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:69:inblock (2 levels) in define' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in call' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:inblock in execute' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:inexecute' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /home/sid/.rbenv/versions/2.1.2/lib/ruby/2.1.0/monitor.rb:211:inmon_synchronize' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:ininvoke' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in invoke_task' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:inblock (2 levels) in top_level' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in each' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:inblock in top_level' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:intop_level' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /home/sid/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in' /home/sid/.rbenv/versions/2.1.2/bin/rake:23:in load' /home/sid/.rbenv/versions/2.1.2/bin/rake:23:in' Tasks: TOP => assets:precompile

Aucun commentaire:

Enregistrer un commentaire