ubuntu下使用capistrano时出现缺少openssl的解决

阅读更多

The Ruby OpenSSL bindings are not installed by default on Ubuntu and Capistrano needs them.. so if you see this error:

  
  
  
  
ruby 代码
  1. `gem_original_require': no such file to load -- openssl (LoadError)  

run this command(you probably already have the openssl library, but not the Ruby bindings):

  
  
  
  
ruby 代码
ruby 代码
  1. apt-get install libopenssl-ruby  

你可能感兴趣的:(capistrano,Ubuntu,Ruby)