2012-03-08 79 views
0

我已经将我的服务器设置为使用我的apache配置中的RAILS_ENV=production,以便它使用生产数据库。生产中的Rails 3.2没有显示任何资产

但现在没有我的资产装入,

我有group assets do在我的Gemfile。

而且我已经做了,

bundle exec rake assets:precompile RAILS_ENV=production 

它抱怨我的代码,并退出

rake aborted! 
uninitialized constant Ticket::UUIDHelper 

回答

0

尝试:

bundle exec rake assets:precompile --trace 

,并显示我们的输出。

你能否告诉我们你的Ticket :: UUIDHelper模块/类?

+0

我禁用该行来重新运行它,它做的东西,但仍然不会显示资产。 – 2012-03-08 22:43:01