ruby on rails - rake assets:precompile, Command failed with status (137): -
i trying precompile assets using assets:precompile command getting below error.
** invoke assets:precompile (first_time) ** execute assets:precompile /root/jruby-1.7.9/bin/jruby /root/jruby-1.7.9/bin/rake assets:precompile:all rails_env=production rails_groups=assets --trace ** invoke assets:precompile:all (first_time) ** invoke assets:cache:clean (first_time) ** invoke assets:environment (first_time) ** execute assets:environment ** invoke environment (first_time) ** execute environment ** execute assets:cache:clean ** execute assets:precompile:all rake aborted! command failed status (137): [/root/jruby-1.7.9/bin/jruby /root/jruby-1....] /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/file_utils.rb:55:in
create_shell_runner' org/jruby/rubyproc.java:271:in
call' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/file_utils.rb:45:insh' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:41:in
sh' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/file_utils.rb:82:inruby' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:41:in
ruby' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/turbo-sprockets-rails3-0.3.11/lib/turbo-sprockets/tasks/assets.rake:24:inruby_rake_task' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/turbo-sprockets-rails3-0.3.11/lib/turbo-sprockets/tasks/assets.rake:33:in
invoke_or_reboot_rake_task' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/turbo-sprockets-rails3-0.3.11/lib/turbo-sprockets/tasks/assets.rake:50:in(root)' org/jruby/rubyproc.java:271:in
call' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/task.rb:236:inexecute' org/jruby/rubyarray.java:1613:in
each' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/task.rb:231:inexecute' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/task.rb:175:in
invoke_with_call_chain' /root/jruby-1.7.9/lib/ruby/1.9/monitor.rb:211:inmon_synchronize' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/task.rb:168:in
invoke_with_call_chain' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/task.rb:161:ininvoke' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:149:in
invoke_task' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:106:intop_level' org/jruby/rubyarray.java:1613:in
each' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:106:intop_level' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:115:in
run_with_threads' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:100:intop_level' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:78:in
run' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:165:instandard_exception_handling' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/lib/rake/application.rb:75:in
run' /root/jruby-1.7.9/lib/ruby/gems/shared/gems/rake-10.1.1/bin/rake:33:in(root)' org/jruby/rubykernel.java:1099:in
load' /root/jruby-1.7.9/bin/rake:23:in `(root)' tasks: top => assets:precompile
my gem file below
source 'https://rubygems.org' gem 'rails', '3.2.14' # bundle edge rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' #gem 'mysql2' gem 'activerecord-jdbcmysql-adapter', '~> 1.3.0' gem 'jruby-openssl' # gems used assets , not required # in production environments default. gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem 'bootstrap-sass', '~> 3.0.2.0' # see https://github.com/sstephenson/execjs#readme more supported runtimes gem 'therubyrhino' # gem 'therubyracer' gem 'uglifier', '>= 1.0.3' gem 'turbo-sprockets-rails3' gem 'jquery-rails' gem 'devise', '3.2.2' gem 'simple_form' gem 'jquery-datatables-rails', '~> 2.2.3' gem "instagram", "~> 0.10.0" gem 'whenever', :require => false gem 'rack-cache', :require => 'rack/cache' gem "dragonfly", '~>0.9.15' gem 'delayed_job_active_record' gem 'daemons' gem "lazyload-rails" gem "spreadsheet" gem 'newrelic_rpm' # gem "ruby-mcrypt" gem "koala","~> 2.0" group :development, :test gem 'hirb' gem 'pry' gem 'awesome_print', '~> 1.6.1' # gem 'better_errors', '~> 1.1.0' # gem 'binding_of_caller' end # use activemodel has_secure_password # gem 'bcrypt-ruby', '~> 3.0.0' # use jbuilder templates json # gem 'jbuilder' # use unicorn app server # gem 'unicorn' # deploy capistrano # gem 'capistrano' # use debugger # gem 'debugger'
my gemfile.lock below
gem remote: https://rubygems.org/ specs: actionmailer (3.2.14) actionpack (= 3.2.14) mail (~> 2.5.4) actionpack (3.2.14) activemodel (= 3.2.14) activesupport (= 3.2.14) builder (~> 3.0.0) erubis (~> 2.7.0) journey (~> 1.0.4) rack (~> 1.4.5) rack-cache (~> 1.2) rack-test (~> 0.6.1) sprockets (~> 2.2.1) activemodel (3.2.14) activesupport (= 3.2.14) builder (~> 3.0.0) activerecord (3.2.14) activemodel (= 3.2.14) activesupport (= 3.2.14) arel (~> 3.0.2) tzinfo (~> 0.3.29) activerecord-jdbc-adapter (1.3.5) activerecord (>= 2.2) activerecord-jdbcmysql-adapter (1.3.5) activerecord-jdbc-adapter (~> 1.3.5) jdbc-mysql (>= 5.1.22) activeresource (3.2.14) activemodel (= 3.2.14) activesupport (= 3.2.14) activesupport (3.2.14) i18n (~> 0.6, >= 0.6.4) multi_json (~> 1.0) addressable (2.3.8) arel (3.0.3) atomic (1.1.14) atomic (1.1.14-java) awesome_print (1.6.1) bcrypt-ruby (3.1.2) bcrypt-ruby (3.1.2-java) bootstrap-sass (3.0.2.1) sass (~> 3.2) bouncy-castle-java (1.5.0147) builder (3.0.4) chronic (0.10.2) coderay (1.1.0) coffee-rails (3.2.2) coffee-script (>= 2.2.0) railties (~> 3.2.0) coffee-script (2.2.0) coffee-script-source execjs coffee-script-source (1.6.3) daemons (1.1.9) delayed_job (4.0.0) activesupport (>= 3.0, < 4.1) delayed_job_active_record (4.0.0) activerecord (>= 3.0, < 4.1) delayed_job (>= 3.0, < 4.1) devise (3.2.2) bcrypt-ruby (~> 3.0) orm_adapter (~> 0.1) railties (>= 3.2.6, < 5) thread_safe (~> 0.1) warden (~> 1.2.3) dragonfly (0.9.15) multi_json (~> 1.0) rack erubis (2.7.0) execjs (2.0.2) faraday (0.8.9) multipart-post (~> 1.2.0) faraday_middleware (0.9.0) faraday (>= 0.7.4, < 0.9) ffi (1.9.8-java) hashie (2.0.5) hike (1.2.3) hirb (0.7.3) i18n (0.6.9) instagram (0.10.0) faraday (>= 0.7, < 0.9) faraday_middleware (~> 0.8) hashie (>= 0.4.0) multi_json (~> 1.0, >= 1.0.3) jdbc-mysql (5.1.28) journey (1.0.4) jquery-datatables-rails (2.2.3) jquery-rails sass-rails jquery-rails (3.0.4) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) jruby-openssl (0.9.4) bouncy-castle-java (>= 1.5.0147) json (1.8.1) json (1.8.1-java) koala (2.0.0) addressable faraday multi_json lazyload-rails (0.2.0) nokogiri (~> 1.5) mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) method_source (0.8.2) mime-types (1.25.1) mini_portile (0.5.2) multi_json (1.8.4) multipart-post (1.2.0) newrelic_rpm (3.9.9.275) nokogiri (1.6.1) mini_portile (~> 0.5.0) nokogiri (1.6.1-java) mini_portile (~> 0.5.0) orm_adapter (0.5.0) polyglot (0.3.3) pry (0.10.1-java) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) spoon (~> 0.0) rack (1.4.5) rack-cache (1.2) rack (>= 0.4) rack-ssl (1.3.3) rack rack-test (0.6.2) rack (>= 1.0) rails (3.2.14) actionmailer (= 3.2.14) actionpack (= 3.2.14) activerecord (= 3.2.14) activeresource (= 3.2.14) activesupport (= 3.2.14) bundler (~> 1.0) railties (= 3.2.14) railties (3.2.14) actionpack (= 3.2.14) activesupport (= 3.2.14) rack-ssl (~> 1.3.2) rake (>= 0.8.7) rdoc (~> 3.4) thor (>= 0.14.6, < 2.0) rake (10.1.1) rdoc (3.12.2) json (~> 1.4) ruby-ole (1.2.11.7) sass (3.2.13) sass-rails (3.2.6) railties (~> 3.2.0) sass (>= 3.1.10) tilt (~> 1.3) simple_form (2.1.1) actionpack (~> 3.0) activemodel (~> 3.0) slop (3.6.0) spoon (0.0.4) ffi spreadsheet (0.9.7) ruby-ole (>= 1.0) sprockets (2.2.2) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) therubyrhino (2.0.2) therubyrhino_jar (>= 1.7.3) therubyrhino_jar (1.7.4) thor (0.18.1) thread_safe (0.1.3) atomic thread_safe (0.1.3-java) atomic tilt (1.4.1) treetop (1.4.15) polyglot polyglot (>= 0.3.1) turbo-sprockets-rails3 (0.3.11) railties (> 3.2.8, < 4.0.0) sprockets (>= 2.2.0) tzinfo (0.3.38) uglifier (2.4.0) execjs (>= 0.3.0) json (>= 1.8.0) warden (1.2.3) rack (>= 1.0) whenever (0.8.4) activesupport (>= 2.3.4) chronic (>= 0.6.3) platforms java dependencies activerecord-jdbcmysql-adapter (~> 1.3.0) awesome_print (~> 1.6.1) bootstrap-sass (~> 3.0.2.0) coffee-rails (~> 3.2.1) daemons delayed_job_active_record devise (= 3.2.2) dragonfly (~> 0.9.15) hirb instagram (~> 0.10.0) jquery-datatables-rails (~> 2.2.3) jquery-rails jruby-openssl koala (~> 2.0) lazyload-rails newrelic_rpm pry rack-cache rails (= 3.2.14) sass-rails (~> 3.2.3) simple_form spreadsheet therubyrhino turbo-sprockets-rails3 uglifier (>= 1.0.3) whenever
please me, getting error inside gem, not able status (137). searched in internet not able find error status (137). please me out.
if got error in precompile of assets firstly try run command
rake assets:clobber
then precompile assests
Comments
Post a Comment