I'm trying to connect a Rails app 3.2.13 with an advantage database. I keep taking this error when I run rake db:create.
Any suggestions what I could do to fix that?
Thank you!
C:\Users\Droste\rails_proj\lo_app>rake db:create --trace
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:create
rake aborted!
LoadError: Could not load ACE library
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-advantage-adapter-0.1.1/lib/act
ive_record/connection_adapters/advantage_adapter.rb:34:in `initialize'
C:/Ruby193/lib/ruby/1.9.1/singleton.rb:141:in `new'
C:/Ruby193/lib/ruby/1.9.1/singleton.rb:141:in `block in instance'
<internal:prelude>:10:in `synchronize'
C:/Ruby193/lib/ruby/1.9.1/singleton.rb:139:in `instance'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-advantage-adapter-0.1.1/lib/act
ive_record/connection_adapters/advantage_adapter.rb:60:in `advantage_connection'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:315:in `new_connection'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:325:in `checkout_new_connection'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:247:in `block (2 levels) in checkout'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:242:in `loop'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:242:in `block in checkout'
C:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:239:in `checkout'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:102:in `block in connection'
C:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:101:in `connection'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connec
tion_adapters/abstract/connection_specification.rb:145:in `connection'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/railti
es/databases.rake:102:in `create_database'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/railti
es/databases.rake:62:in `block (3 levels) in <top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/railti
es/databases.rake:62:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/railti
es/databases.rake:62:in `block (2 levels) in <top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/task.rb:240:in `call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/task.rb:240:in `block i
n execute'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/task.rb:235:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/task.rb:235:in `execute
'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/task.rb:179:in `block i
n invoke_with_call_chain'
C:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/task.rb:172:in `invoke_
with_call_chain'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/task.rb:165:in `invoke'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:150:in `
invoke_task'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:106:in `
block (2 levels) in top_level'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:106:in `
each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:106:in `
block in top_level'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:115:in `
run_with_threads'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:100:in `
top_level'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:78:in `b
lock in run'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:176:in `
standard_exception_handling'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/lib/rake/application.rb:75:in `r
un'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.4.1/bin/rake:33:in `<top (required)>
'
C:/Ruby193/bin/rake:23:in `load'
C:/Ruby193/bin/rake:23:in `<main>'
Tasks: TOP => db:create
I had two .dll files from an older installation. I removed those and the connection looks ok.
Related
Im following this Tutorial to Deploy a Redmine Instance on my vServer: https://support.plesk.com/hc/en-us/articles/115001670625
I get an Error at Point 14.2 "Insert RAILS_ENV=production db:migrate to the Task parameters field and click Run."
Redmine-Version: 4.0.4
Ruby Version: 2.6.3-p62
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Execute db:migrate
rake aborted!
ArgumentError: string contains null byte
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `connect'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `initialize'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:811:in `new_connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:855:in `checkout_new_connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:834:in `try_to_checkout_new_connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:795:in `acquire_connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:523:in `checkout'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:382:in `connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:1014:in `retrieve_connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_handling.rb:118:in `retrieve_connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_handling.rb:90:in `connection'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/tasks/database_tasks.rb:172:in `migrate'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/railties/databases.rake:60:in `block (2 levels) in '
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `block in execute'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `each'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `execute'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/opt/plesk/ruby/2.6.3/lib/x86_64-linux-gnu/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:183:in `invoke'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:160:in `invoke_task'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `each'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block in top_level'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:125:in `run_with_threads'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:110:in `top_level'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:83:in `block in run'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/bin/rake:23:in `load'
/var/www/vhosts/redmine.domain/vendor/bundle/ruby/2.6.0/bin/rake:23:in `
'
Tasks: TOP => db:migrate
I don't know what else to do. In the forum of Plesk and Redmine nobody could help me so far...
Aleksandar Pavić was right:
As I can see, on the Plesk tutorial it says Redmine 3.4 not Redmine
4.x, please retry with Redmine 3.4...
With Redmine 3.4.X it worked! Thank you a lot! 👌
I've stumbled onto a bit of a weird issue with my Rails app...
Until recently, my app has been running fine. Now, when trying to precompile assets, I'm getting a 'rake aborted!' error.
Even though I've removed all assets, I'm getting a File exists error...
My-MacBook-Pro-2:myapp myname$ ls public/assets
ls: public/assets: No such file or directory
My-MacBook-Pro-2:myapp myname$ rake assets:precompile --trace
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/bin/ruby /Users/myname/.rvm/gems/ruby-1.9.3-p484/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0
** 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 tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
File exists - /Applications/MAMP/htdocs/myapp/public/assets/myapp
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/fileutils.rb:205:in `each'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/static_compiler.rb:40:in `block in write_asset'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/static_compiler.rb:38:in `tap'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/static_compiler.rb:38:in `write_asset'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/static_compiler.rb:24:in `block in compile'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:212:in `block in each_logical_path'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:200:in `block (2 levels) in each_file'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each_entry'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:198:in `block in each_file'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each_file'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/sprockets-2.1.3/lib/sprockets/base.rb:210:in `each_logical_path'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/static_compiler.rb:18:in `compile'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/assets.rake:56:in `internal_precompile'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/bin/rake:23:in `load'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/Users/myname/.rvm/rubies/ruby-1.9.3-p...]
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/file_utils.rb:55:in `block in create_shell_runner'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `call'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `sh'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `sh'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/file_utils.rb:82:in `ruby'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `ruby'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-3.2.8/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/myname/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/bin/rake:23:in `load'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/bin/rake:23:in `<main>'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `eval'
/Users/myname/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => assets:precompile
My-MacBook-Pro-2:myapp myname$
I've tried removing the public/assets directory manually, using rm -rf public/assets, and, I've also ran rake assets:clean successfully – and the issue is still not resolved.
I'm trying to pinpoint what could cause the issue. Any help is appreciated!
I ended up resolving this issue –
Due to the lack of specificity in the error log, it was difficult to pinpoint. The issue was, in my /fonts directory, I had a file named 'myapp'... with no suffix... this caused Rails to puke.
When I try to rake assets:precompile I get the following errors:
rake assets:precompile
/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p484/bin/ruby /Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
execution expired
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:46:in `connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:46:in `block in connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:45:in `connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:40:in `initialize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:582:in `new'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:582:in `check_is_master'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:468:in `connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:693:in `setup'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:155:in `initialize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/uri_parser.rb:172:in `new'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/uri_parser.rb:172:in `connection'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:203:in `from_uri'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config/database.rb:86:in `master'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config/database.rb:19:in `configure'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:290:in `configure_databases'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:111:in `from_hash'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:126:in `block in load!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:125:in `tap'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:125:in `load!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid.rb:148:in `load!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/railtie.rb:84:in `block in <class:Railtie>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/jeanosorio/repos/blabloo/config/environment.rb:5:in `<top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/application.rb:103:in `require_environment!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:93:in `block (2 levels) in <top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p...]
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/ruby_executable_hooks:15:in `eval'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
This is the result using the "--trace" commnad
rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p484/bin/ruby /Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** 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
rake aborted!
execution expired
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:46:in `connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:46:in `block in connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:45:in `connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/tcp_socket.rb:40:in `initialize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:582:in `new'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:582:in `check_is_master'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:468:in `connect'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:693:in `setup'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:155:in `initialize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/uri_parser.rb:172:in `new'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/util/uri_parser.rb:172:in `connection'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongo-1.9.2/lib/mongo/mongo_client.rb:203:in `from_uri'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config/database.rb:86:in `master'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config/database.rb:19:in `configure'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:290:in `configure_databases'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:111:in `from_hash'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:126:in `block in load!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:125:in `tap'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/config.rb:125:in `load!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid.rb:148:in `load!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/mongoid-2.8.1/lib/mongoid/railtie.rb:84:in `block in <class:Railtie>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/jeanosorio/repos/blabloo/config/environment.rb:5:in `<top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/application.rb:103:in `require_environment!'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/railties-3.2.13/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:93:in `block (2 levels) in <top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/rake:23:in `load'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/rake:23:in `<main>'
Tasks: TOP => environment
rake aborted!
Command failed with status (1): [/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p...]
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/file_utils.rb:55:in `block in create_shell_runner'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `call'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `sh'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `sh'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/file_utils.rb:82:in `ruby'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `ruby'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/actionpack-3.2.13/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/jeanosorio/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/rake:23:in `load'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/rake:23:in `<main>'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/ruby_executable_hooks:15:in `eval'
/Users/jeanosorio/.rvm/gems/ruby-1.9.3-p484#blabloo/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => assets:precompile
I don't understand what is the problem here, because I make this before upload my files to the server, and now I get this errors but I didn't change anything.
Any suggestion would be appreciate.
Thanks
I delete all the files on my public/assets folder and then the
rake assets:precompile
works.
Thanks for your help
This problem has been plaguing me for hours! When trying to precompile my assets on the AWS instance, I get the following:
bitnami#ip-10-117-75-230:/opt/bitnami/apache2/htdocs/my_broker_app$ sudo bundle exec rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/opt/bitnami/ruby/bin/ruby /opt/bitnami/ruby/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** 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!
invalid byte sequence in UTF-8
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/hike-1.2.3/lib/hike/index.rb:82:in `block in entries'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/hike-1.2.3/lib/hike/index.rb:82:in `reject'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/hike-1.2.3/lib/hike/index.rb:82:in `entries'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:116:in `entries'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:190:in `block in each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:190:in `block in each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:190:in `block in each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:190:in `block in each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:185:in `each_entry'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:18:in `compile'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:56:in `internal_precompile'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/bin/rake:33:in `<top (required)>'
/opt/bitnami/ruby/bin/rake:23:in `load'
/opt/bitnami/ruby/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/opt/bitnami/ruby/bin/ruby /opt/bitnami/ru...]
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `sh'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:80:in `ruby'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `ruby'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/rake-10.0.4/bin/rake:33:in `<top (required)>'
/opt/bitnami/ruby/bin/rake:23:in `load'
/opt/bitnami/ruby/bin/rake:23:in `<main>'
Tasks: TOP => assets:precompile
I am running ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
I solved the issue by doing the following:
$ cd opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/hike-1.2.3/lib/hike
$ sudo chmod 777 index.rb
$ sudo vim index.rb
Then, insert (press letter i on keyboard): # encoding: utf-8 before first line.
Hit esc and then type :wq then press enter to save.
After, put permissions back for index.rb by doing the following
$ sudo chmod 644 index.rb
Hope this helps someone in the future.
In case anybody else comes across this question, while Tomanow's answer didn't quite work for me, I discovered there were offending characters in my file, which is what caused this issue.
The files, which came from Open Layers version 2.13, contained a copyright symbol in the comments section of some of their javascript and css files. Anybody else having a similar issue could also attempt to look for and remove those characters, if that's a feasible. Check out this answer for more details.
In my case the issue was happening on every rake task. I found out that it was due to the presence of some files with odd names that were accidentally created on the app's main directory, such as "?," and "\342,". Everything worked fine after I removed them.
Hi when I am running rake command it is ending up with "Error: Out of stack space".
can you please help me.
I am using rails 3.2.3 and using spree 1.1.1.
Thanks in advance
I have pasted error log below.
** Invoke assets:precompile (first_time)
** Execute assets:precompile C:/Ruby192/bin/ruby.exe C:/Ruby192/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** 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! Error: Out of stack space (in C:/Users/Aahlad/Documents/new new rails/smockcouture/app/assets/javascripts/application.js) C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:68:in `extract_result' C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:28:in `block in exec' C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:41:in `compile_to_tempfile' C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:27:in `exec' C:/Ruby192/lib/ruby/gems/1.9.1/gems/uglifier-1.2.4/lib/uglifier.rb:101:in `compile' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/compressors.rb:74:in `compress' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processing.rb:265:in `block in js_compressor=' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/processor.rb:29:in `evaluate' C:/Ruby192/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/context.rb:177:in `block in evaluate' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in `evaluate' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/bundled_asset.rb:26:in `initialize' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `new' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in `build_asset' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in `block in build_asset' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in `cache_asset' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in `build_asset' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in `find_asset' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in `find_asset' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:20:in `block in compile' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:212:in `block in each_logical_path' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:200:in `block (2 levels) in each_file' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in `each_entry' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:198:in `block in each_file' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in `each_file' C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/lib/sprockets/base.rb:210:in `each_logical_path' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:18:in `compile' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/assets.rake:56:in `internal_precompile' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>' C:/Ruby192/bin/rake:19:in `load' C:/Ruby192/bin/rake:19:in `<main>' Tasks: TOP => assets:precompile:primary rake aborted! Command failed with status (1): [C:/Ruby192/bin/ruby.exe C:/Ruby192/bin/rak...] C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:80:in `ruby' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `ruby' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/assets.rake:12:in `ruby_rake_task' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task' C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>' C:/Ruby192/bin/rake:19:in `load' C:/Ruby192/bin/rake:19:in `<main>' Tasks: TOP => assets:precompile
I don't know the error but gotta know that it is a windows specific error.I have copied the same application and did rake command in ubuntu and worked well.
I'm getting the same response when I try to precompile using the ckeditor gem. The init.js.erb includes other JS files, some of which are already 'compressed' and as a result, the file is essentially one big string of text without any line breaks. If I open it in Komodoedit I get a warning saying the info is truncated because it is too long. Perhaps this is what is happening when Uglifier tries to read and then compress the string data. I don't know of a solution as it only just recently happened to me. Use rake assets:precompile --trace to see where the error actually crops up.