简体   繁体   English

没有要加载的此类文件— openssl ruby

[英]no such file to load — openssl ruby

I did this steps : http://blog.overridethis.com/blog/post/2011/04/19/Installing-Rails-305-on-Ubuntu-1010-(Maverick).aspx 我执行了以下步骤: http : //blog.overridethis.com/blog/post/2011/04/19/Installing-Rails-305-on-Ubuntu-1010-(Maverick).aspx

Then I have this error message. 然后我有此错误信息。 I read many topics but I couldn't fix my problem with any of them.. 我读了许多主题,但都无法解决我的问题。

Looks like you didn't apt-get install openssl before hand. 看来您没有事先准备好apt-get install openssl You'll need to install that package before re-compiling Ruby to get it to work. 您需要先安装该软件包,然后再重新编译Ruby才能使其正常工作。

If you were using RVM (and you should!) then this whole process would be a lot easier! 如果您正在使用RVM(应该这样做),那么整个过程将容易得多!

I warn about the dangers of installing Ruby from apt-get and explain how to install Ruby properly with RVM in this post. 我警告了从apt-get安装Ruby的危险,并在本文中解释了如何使用RVM正确安装Ruby

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM