我将Rails应用程序部署到Amazon EC2,但在部署时我得到了
find: `/path/to/root/releases/20130514204835/public/stylesheets' (the same for javascripts and images)
然后我尝试在我的机器上预编译资产 - rake资产:预编译RAILS_ENV =生产或捆绑exec rake资产:预编译RAILS_ENV =生产 - 但两者都在我遇到同样的错误:
/Users/adam/.rvm/rubies/ruby-1.9.3-p385/bin/ruby /Users/radek/.rvm/gems/ruby-1.9.3-p385/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
Access denied for user 'adam'@'localhost' (using password: YES)
对MySQL的访问应该没问题,资产有什么问题?