简体   繁体   English

Rails,Ubuntu 12.04中的分段错误创建项目

[英]Segmentation fault creating project in Rails, Ubuntu 12.04

I did a fresh install of Ubuntu 12.04 Server to set up a Ruby on Rails development environment. 我重新安装了Ubuntu 12.04 Server,以建立Ruby on Rails开发环境。 I followed this guide to install it http://www.rubypluspl.us/2012/06/ubuntu-1204-ruby-on-rails-development.html 我已按照本指南进行安装, 网址为http://www.rubypluspl.us/2012/06/ubuntu-1204-ruby-on-rails-development.html

After step 4, where it says that the environment should be set up, I run 在第4步说应该设置环境之后,我运行

$ rails new app

This causes this error to occur 这将导致发生此错误

run  bundle install
/home/jarek/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/buffering.rb:318: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

Followed by this huge block of text. 随后是这段巨大的文本。

http://pastebin.com/Ps8bWxFG http://pastebin.com/Ps8bWxFG

I haven't been able to find any solutions for this. 我还没有找到任何解决方案。 An answer I tried for a similar issue on StackOverflow is the reason I had to do a fresh install. 我在StackOverflow上尝试过类似问题的答案是我必须重新安装的原因。 Can anyone help me get Ruby up and running? 谁能帮助我启动并运行Ruby? Thank you. 谢谢。

make sure you install all libraries listed in: 确保安装以下列出的所有库:

rvm requirements

just in case clean rvm packages: 以防万一干净的rvm软件包:

rm -rf $rvm_path/usr

and then reinstall ruby: 然后重新安装ruby:

rvm reinstall 1.9.3

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

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