Segmentation fault with Ruby 1.8.7

血红的双手。 提交于 2019-12-21 05:18:07

问题


I'm trying to use Rails 3.2.0.rc2 but I'm running into some problems. When I try to do a rails s I am now getting:

/Users/Kyle/.rvm/gems/ruby-1.9.2-p290@skateparks/gems/json-1.6.5/ext/json/ext/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]

[1]    28744 abort      rails s

What's interesting is that I am using 1.9.2 but the error seems to be related to 1.8.7. I have done the following to try to fix this problem w/ no success:

rvm gemset empty
rvm use 1.9.2@skateparks
gem install bundler
bundle install

回答1:


You could try rebuilding some or all of your gems. It may be related to your shared libraries and .bundle files.

JSON has a compiled extension that might've been corrupted or rendered incompatible.



来源:https://stackoverflow.com/questions/8958998/segmentation-fault-with-ruby-1-8-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!