2013-02-08 64 views
0

我的Rails应用程序工作正常,但最近的Dreamhost搬出他们的服务器(*类似的东西),现在我无法通过Capistrano的部署..libmysqlclient_r.so.15:无法打开共享对象文件:没有这样的文件或目录的Dreamhost

我得到这个错误信息:

libmysqlclient_r.so.15: cannot open shared object file: No such file or directory - /home/soprojetos/cap/shared/bundle/ruby/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.so

原始版本:

[direct.soprojetos.com.br] executing command ** [out :: direct.soprojetos.com.br] /usr/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:199: warning: Insecure world writable dir /home/soprojetos/cap/shared/bundle/ruby/1.8/bin in PATH, mode 040777 ** [out :: direct.soprojetos.com.br] /home/soprojetos/cap/shared/bundle/ruby/1.8/bundler/gems/capistrano-ea5b03b4d38e/capistrano.gemspec:15: warning: Insecure world writable dir /home/soprojetos/cap/shared/bundle/ruby/1.8/bin in PATH, mode 040777 ** [out :: direct.soprojetos.com.br] /home/soprojetos/cap/shared/bundle/ruby/1.8/bundler/gems/kendoui_rails-dc276aceb446/kendoui-rails.gemspec:18: warning: Insecure world writable dir /home/soprojetos/cap/shared/bundle/ruby/1.8/bin in PATH, mode 040777 ** [out :: direct.soprojetos.com.br] /home/soprojetos/cap/shared/bundle/ruby/1.8/bundler/gems/pagseguro-fa2c22e88177/pagseguro.gemspec:15: warning: Insecure world writable dir /home/soprojetos/cap/shared/bundle/ruby/1.8/bin in PATH, mode 040777 ** [out :: direct.soprojetos.com.br] /usr/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:132: warning: Insecure world writable dir /home/soprojetos/cap/shared/bundle/ruby/1.8/bin in PATH, mode 040777 ** [out :: direct.soprojetos.com.br] rake aborted! ** [out :: direct.soprojetos.com.br] libmysqlclient_r.so.15: cannot open shared object file: No such file or directory - /home/soprojetos/cap/shared/bundle/ruby/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.so ** [out :: direct.soprojetos.com.br] /home/soprojetos/cap/shared/bundle/ruby/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.so ** [out :: direct.soprojetos.com.br] /home/soprojetos/cap/shared/bundle/ruby/1.8/gems/mysql2-0.3.11/lib/mysql2.rb:9 ** [out :: direct.soprojetos.com.br] /home/soprojetos/cap/releases/20130208183759/config/application.rb:14 ** [out :: direct.soprojetos.com.br] /home/soprojetos/cap/releases/20130208183759/Rakefile:5:in需要” ** [出:: direct.soprojetos.com.br] /家/ soprojetos /盖/ RELE ASES/20130208183759/Rake文件:5 ** [出:: direct.soprojetos.com.br(通过运行带有--trace任务查看完整的跟踪) 命令9957ms * [部署:update_code]完成回滚 *执行“室射频/家庭/ soprojetos /帽/发行/ 20130208183759;真 “ 服务器:[ ”direct.soprojetos.com.br“] [direct.soprojetos.com.br]执行命令 命令在13266ms *完成[推倒:notify_deploy_started]回滚 失败:” ENV PATH = $ PATH:/usr/lib/ruby/gems/1.8/bin/ sh -c'cd -/home/soprojetos/cap/releases/20130208183759 & & bundle exec rake RAILS_ENV = production RAILS_GROUPS =资产资产:预编译& & cp - /home/soprojetos/cap/shared/assets/manifest.yml /home/soprojetos/cap/releases/20130208183759/assets_manifest.yml'”上direct.soprojetos.com.br `

谁能救我?

+1

这只是原因之一Dreamhost的是举办Rails应用程序非常次优的地方。如果可能的话,你应该尝试[Heroku的(http://www.heroku.com)作为自由层是媲美这类服务付费帐户的Dreamhost提供。 – tadman 2013-02-08 19:20:19

+0

我在Django Dreamhost上同样的问题... – 2013-09-04 17:50:17

回答

相关问题