thoughtful/spree-s3 — Issue #2: uninitialized constant Spree::FileUtilz
Author: mapreferee
Created: 2012-02-21 13:38:53+00:00
State: open

When type rake spree_s3:install, I got the following message

--

INFO: Mirroring assets from /usr/local/rvm/gems/ruby-1.9.2-p290/bundler/gems/spree-s3-a0280782a2ff/lib/tasks/../../db to /root/app/app/db
rake aborted!
uninitialized constant Spree::FileUtilz

Tasks: TOP => spree_s3:install:migrations
(See full trace by running task with --trace)

--

By typing rake spree_s3:install --trace, the message shows as below

rake spree_s3:install --trace
** Invoke spree_s3:install (first_time)
** Execute spree_s3:install
** Invoke spree_s3:install:migrations (first_time)
** Execute spree_s3:install:migrations
INFO: Mirroring assets from /usr/local/rvm/gems/ruby-1.9.2-p290/bundler/gems/spree-s3-a0280782a2ff/lib/tasks/../../db to /root/app/app/db
rake aborted!
uninitialized constant Spree::FileUtilz
/usr/local/rvm/gems/ruby-1.9.2-p290/bundler/gems/spree-s3-a0280782a2ff/lib/tasks/install.rake:14:in block (3 levels) in '
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:205:incall'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:205:in block in execute'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:200:ineach'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:200:in execute'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:158:inblock in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:144:in invoke'
/usr/local/rvm/gems/ruby-1.9.2-p290/bundler/gems/spree-s3-a0280782a2ff/lib/tasks/install.rake:4:inblock (2 levels) in '
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:205:in call'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:205:inblock in execute'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:200:in each'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:200:inexecute'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:158:in block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:151:in invoke_with_call_chain'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:144:ininvoke'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:116:in invoke_task'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:94:inblock (2 levels) in top_level'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:94:in each'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:94:inblock in top_level'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:88:intop_level'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:66:in block in run'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:63:in run'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/bin/rake:33:in'
/usr/local/rvm/gems/ruby-1.9.2-p290/bin/rake:19:in load'
/usr/local/rvm/gems/ruby-1.9.2-p290/bin/rake:19:in'
Tasks: TOP => spree_s3:install:migrations