rails报错:require: cannot load such file -- openssl (LoadError)_Ruby_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > Ruby > rails报错:require: cannot load such file -- openssl (LoadError)

rails报错:require: cannot load such file -- openssl (LoadError)

 2012/6/1 16:45:38  freespace  程序员俱乐部  我要评论(0)
  • 摘要:rails创建项目报错:rubygems/custom_require.rb:36:in`require':cannotloadsuchfile--openssl(LoadError)需要执行:sudoapt-getinstallruby1.9.1-devsudoapt-getinstalllibssl-dev然后:cd~/.rvm/src/ruby-1.9.3-p194/ext/opensslrubyextconf.rbmake;makeinstall;
  • 标签:

rails创建项目报错:rubygems/custom_require.rb:36:in `require': cannot load such file -- openssl (LoadError)

?

需要执行:

sudo apt-get install ruby1.9.1-dev

sudo apt-get install libssl-dev

?

然后:

cd?~/.rvm/src/ruby-1.9.3-p194/ext/openssl

ruby ?extconf.rb

make; make install;

  • 相关文章
发表评论
用户名: 匿名