Frank-Hocks-iMac:sample_app frankhock$ heroku rake db:migrate
(in /app)
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED
rake aborted!
no such file to load -- faker
/app/lib/tasks/sample_data.rake:1:in `require'
/app/lib/tasks/sample_data.rake:1:in `<top (required)>'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/engine.rb:131:in `load'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/engine.rb:131:in `block in load_tasks'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/engine.rb:131:in `each'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/engine.rb:131:in `load_tasks'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/application.rb:141:in `load_tasks'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/application.rb:77:in `method_missing'
/app/Rakefile:10:in `<top (required)>'
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2373:in `load'
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:1991:in `run'
/usr/ruby1.9.2/bin/rake:31:in `<main>'
我在我的宝石文件中包含了宝石'faker',无论是在常规位置还是在开发中