2013-02-08 103 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

回答

相關問題