From: Vlad K. <VK...@ji...> - 2014-06-04 18:49:31
|
I haven't been able to use your rsvg2 gem with Ruby 2. i have tried 2.0, 2.1, and 2.1.2 and yet i always get a segmentation fault. Here is the error dump: http://pastebin.com/aUR5L04b and here is the very simple test file i am using: http://pastebin.com/vQb19QYT I tested this on CentOS 6.5 with installing pretty much nothing other than rbenv, ruby and this gem. Starting with a brand new fresh install of CentOS 6.5, i only ran the following commands: —————————————— fresh install of CentOS 6.5 yum update yum install git --install rbenv and update PATH etc git clone https://github.com/sstephenson/rbenv.git ~/.rbenv git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc exec bash yum install openssl-devel rbenv install 2.1.2 rbenv global 2.1.2 gem install rsvg2 -- grab test file (same as in pastebin above) and execute scp tools-qa.jiwiredev.com:/home/vkatz/test/test.rb ruby test.rb ———————————— This gives me a segmentation fault. doing the exact same as above but using ruby 1.9.3 works fine with no errors. Any help would be greatly appreciated! Thanks! *v |