0

我将 Rails 应用程序部署到 Amazon EC2,但在部署时我得到了

find: `/path/to/root/releases/20130514204835/public/stylesheets' (the same for javascripts and images)

然后我尝试在我的机器上预编译资产 - rake assets:precompile RAILS_ENV=productionbundle exec rake assets:precompile RAILS_ENV=production - 但在这两种情况下我都遇到了同样的错误:

/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 应该没问题,资产有什么问题?

4

0 回答 0