我無法獲得Rails 3.1.3運行的Rake預編譯任務。我收到以下錯誤:當我用bundle exec
或當我部署到Heroku上雪松堆棧Rails 3.1.3上的Rake任務 - 應用程序已經初始化
$ rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/tristankromer/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /Users/tristankromer/.rvm/gems/[email protected]/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
rake aborted!
Application has been already initialized.
/Users/tristankromer/.rvm/gems/[email protected]/gems/railties-3.1.3/lib/rails/application.rb:95:in `initialize!'
同樣的事情發生。
不太確定從哪裏開始。有任何想法嗎?
更新:我在與每一個耙子任務的問題:
rake aborted!
Application has been already initialized.
/Users/tristankromer/.rvm/gems/[email protected]/gems/railties-3.1.3/lib/rails/application.rb:95:in `initialize!'
? – microspino
一樣的東西。 – TLK