Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hpricot Segmentation Fault #14

Closed
zolrath opened this issue Feb 13, 2012 · 3 comments
Closed

Hpricot Segmentation Fault #14

zolrath opened this issue Feb 13, 2012 · 3 comments

Comments

@zolrath
Copy link

zolrath commented Feb 13, 2012

When running :RunSpec with Ruby 1.9.3 installed through RVM, with a newly compiled vim I get a segmentation fault:

/Users/furd/.rvm/gems/ruby-1.9.3-p0-falcon/gems/hpricot-0.8.6/lib/hpricot_scan.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]

Any idea why this is?

@skwp
Copy link
Owner

skwp commented Feb 13, 2012

sorry I've only used this on ruby 1.8.7...i hear that nokogiri is the way to go instead of hpricot. perhaps this plugin needs to be ported to nokogiri, but right now i don't have the time to look into it. I also recommend checking out this other plugin, https://github.com/skwp/vim-ruby-conque, which I now use more than this one because it offers the advantage of being able to run in the background (non-blocking), although it's not quite as pretty

@rboyd
Copy link

rboyd commented Feb 13, 2012

Using zsh by chance? This was happening for me also, until I found a fix this weekend. Edit ~/.zshenv to include:

source "$HOME/.rvm/scripts/rvm"

@zolrath
Copy link
Author

zolrath commented Feb 22, 2012

rboyd: Yes I was and that fix was exactly what I needed to fix a whole truckload of vim/ruby related issues. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants