0

我正在尝试推送 Redmine 2.3.0 版本,但出现以下错误。

Running rake assets:precompile
[2013-04-16 23:37:08] Assets precompilation failed: rake aborted!
[2013-04-16 23:37:08] libmysqlclient.so.16: cannot open shared object file: No such file or directory - 
/var/vcap/data/stager/tmp/d20130416-26326-n1cta5/rubygems/ruby/1.9.1/gems/mysql2-0.3.11/lib/mysql2/mysql2.so

.......

[2013-04-01 07:38:32] (See full trace by running task with --trace)[23-04-01 07:38:32] Turning on live assets compilation
[2013-04-01 07:38:32] Creating droplet
[2013-04-01 07:38:34] Uploading droplet
[2013-04-01 07:38:36] Done!

The error messages from the console, it says failed to start instances.

Uploading redmine_... O
Stopping redmine_... OK

Starting redmine_... OK
Checking redmine_...
0/1 instances: 1 starting
0/1 instances: 1 down
0/1 instances: 1 down
0/1 instances: 1 down
0/1 instances: 1 down
0/1 instances: 1 down

有谁知道原因吗?

我正在使用 Mac OSX Snow Leopard、Redmine 2.3.0、ruby 1.9.2p320 和 Rails 3.2.13

此致。

4

1 回答 1

0

我根据http://blog.cloudfoundry.com/2013/01/10/cloud-foundry-now-supports-rails-assets-pipeline/解决了这个问题 运行这个:

    RAILS_ENV=production bundle exec rake assets:precompile
于 2013-05-28T08:51:06.693 回答