similar to: parse.rb:33: [BUG] Segmentation fault ruby 1.8.7 Hpricot

Displaying 20 results from an estimated 90000 matches similar to: "parse.rb:33: [BUG] Segmentation fault ruby 1.8.7 Hpricot"

2011 May 25
1
can't load hpricot gem in rails 3
This is in windows .. So from irb, I can load hpricot ok. (ruby 1.8.7) C:\Users\Laurence\rails-play\plug-test>irb irb(main):001:0> require ''hpricot'' LoadError: no such file to load -- hpricot from (irb):1:in `require'' from (irb):1 irb(main):002:0> require ''rubygems'' => true irb(main):003:0> require
2010 Mar 07
8
Parsing XML file with no style info with Hpricot
Hello, I''ve been trying for hours to parse an XML using Hpricot. Usually it''s not a problem. Here''s my simple code: #This works and outputs the proper xml data @url1 = ''http://www.sportingnews.com/stories/sportingnews/MLB/rss.xml'' @page1 = Hpricot(open(@url1)) <%= @page 1 %> #This does not work, and I''m scratching my head @url1 =
2010 Jan 06
0
Built with Rails: http://hpricot.com
People, I enhanced http://hpricot.com and deployed it to heroku. I use hpricot.com to build and test various hpricot expressions and then run them against a variety of websites. Hpricot.com shows you the resulting html. Also hpricot.com will render the resulting html. For some development activities, hpricot.com is useful. If you have any questions, e-me. Thanks, --Dan Bikle -- You
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys, I wanted to fetch some info from webpage and use it in my db. I read hpricot is one way to do it. But the problem is I''m unable to use it with my app. For some reason after successfully installing hpricot it fails when I try to use it in the rails console. I''ve been trying to fix this for the last four-five days. I''m stumped ! I tried re-installing everything
2011 Jan 24
1
segmentation fault on RMagick2
Hi, I''m getting this error when I try to create a migration file: $ script/generate migration create_session /Users/administator/.gem/ruby/1.8/gems/rmagick-2.13.1/lib/ RMagick2.bundle: [BUG] Segmentation fault ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-darwin10] Abort trap I''m not sure how to solve it. Any ideas? -- You received this message because you are subscribed
2007 Nov 14
0
Hpricot & mechanize fail to parse page after redirect1q
Hi everyone, My quest with mechanize/Hpricot continues :) Something extremely strange happened today - some simple working code broke down, and i can''t figure out why. I am trying to access a piratebay.org search page, which does a redirect to a relative url like this: original link: http://thepiratebay.org/s/?page=0&orderby=3&q=football+manager+2008&searchTitle=on redirects
2009 Nov 30
0
Segmentation Fault after upgrade 1.9
Hi Guys, I''ve just upgraded to 1.9.1p243. Everything in installation is fine EXCEPT it CANNOT RUN. I downloaded the source and then ./configure --prefix=... sudo make sudo make install (then reboot) And when I run "ruby -v" Segmentation Fault My OS is ubuntu 9.1. Can anyone gimme some clue? thanks Arthur -- You received this message because you are subscribed to the
2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used to create a new rails3 gemset. Then I changed to that gemset with rvm use 1.9.2-head@rails3 and I ran bundle install over the following Gemfile: source ''http://rubygems.org'' gem ''rails'', ''3.0.0.beta4'' gem ''sqlite3-ruby'', :require =>
2010 Feb 15
5
help on how append html tag
Dear all, @doc = Hpricot(open("#{RAILS_ROOT}" + "/public/server_exe/#{list.file_path}")) i need to add <img src = "/ScreenCapture/#{@file_name}"/> element to my @doc hpricot instance.. Please help me... how can i add the above img src element to the @doc hpricot instance.. Thank you -- Posted via http://www.ruby-forum.com/. -- You received this message
2010 Aug 08
5
Ruby 1.8.7 and openssl failed compile
I got this error: ossl_ssl.c: In function ?ossl_sslctx_get_ciphers?: ossl_ssl.c:626:19: error: ?STACK? undeclared (first use in this function) ossl_ssl.c:626:19: note: each undeclared identifier is reported only once for each function it appears in ossl_ssl.c:626:25: error: expected expression before ?)? token ossl_ssl.c:629:47: error: expected expression before ?)? token
2011 Jul 14
0
ruby-1.8.7 + mysql-5.1.58 = Mysql::Error: #08S01Bad handshake
The issue: ruby-1.8.7 (compiled from src, not rpm) can''t connect to mysql-5.1.58: "Mysql::Error: #08S01Bad handshake" Environment: Linux Fedora Core 12 (or 14, does not matter) remote database server (different host) mysql-5.1.58 Ruby 1.8.7: wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p352.tar.gz tar -xzvf ruby-1.8.7-p352.tar.gz cd ruby-1.8.7-p352 ./configure
2010 Jun 15
2
ActiveRecordConnection from jobs script
Hi, I make a cron jobs and I would like to use ActiveRecord. but I have this error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished) Do I have to require
2011 Nov 14
3
ruby 1.9.3 causes rbuf_fill timeout, but 1.8.7 does not
subject line says it all. I am trying to use the Google Storage gem (gstore), and if i use ruby 1.8.7, no problem. If i try to use ruby 1.9.3, i get this error: Timeout::Error: Timeout::Error from /usr/local/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue in rbuf_fill'' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:140:in `rbuf_fill'' from
2010 Jun 14
6
ERROR: Failed to build gem native extension (win server 2003/2008 ruby 1.9.1/1.8.7)
I am trying to install mongrel_service gem on Windows (although this problem seems to hold for any non-compiled gem). I have tried this with Windows Server 2003 and 2008. Also with Ruby version 1.8.7 and 1.9.1 (Luis Lavena''s one click installer). Both with the same result. The error message (full text below) mentions that I have to install development tools first. I have installed MinGW
2012 Jul 16
1
After moving from Ruby 1.8.7 to 1.9.3 - test/unit/error (LoadError)
People, For my old library app I did with Rails 2.1.1, if I use Fedora 16/Ruby 1.8.6, everything is OK. If I copy the app to a Fedora 17/Ruby 1.9.3 setup and reinstall all the old Gems and run: ./script/server I get: /usr/share/rubygems/rubygems/custom_require.rb:55:in `require'': cannot load such file -- test/unit/error (LoadError) from
2010 Feb 15
1
moved from ruby 1.8.6 to 1.8.7 and "We're sorry, but something went wrong."
I''m a windows user, and I was using ruby 1.8.6 installer over at RubyInstaller.org. All was working well, but I decided to give ruby 1.8.7 a try. I uninstalled 1.8.6, downloaded and installed ruby 1.8.7 from rubyinstaller, reinstalled rails and all of my gems, and copied over sqlite3.def and sqlite3.dll to the Ruby/bin. I then my start my server (just using webrick for now, same as
2013 Jun 27
2
Segmentation fault in methodhelper.rb
Hi chaps, Since overnight, my puppetmaster has been crashing every now and then (it has crashed about 5 times this morning). We upgraded to puppet 3.2.2 about a week ago but the problems only started this morning. There was nothing in the logs so I ran it in debug mode and captured this: /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:14: [BUG] Segmentation fault ruby 1.8.7
2011 Jan 06
1
Invalid argument - https://graph.facebook.com/19292868552
require ''rubygems'' require ''hpricot'' require ''open-uri'' doc = Hpricot(open("http://graph.facebook.com/226723089703")) @doc = doc.to_s.gsub(/"id.+?likes":/,"").gsub("{","").gsub("}","") puts @doc OR require ''rubygems''
2010 Mar 24
3
How to include a ruby gem environment.rb file?
I''m doing a Web Service Based on a page I found (http://blog.complitech.net/web-services-basics-ruby-on-rails/) using the rails version 2.3.4, the web service is already working, but when working on a version Previous: RAILS_GEM_VERSION = ''2 .0.2 ''unless defined? RAILS_GEM_VERSION I can not run the service. On the previous page, there''s a part that says: 3)
2013 Jun 15
3
[HELP] BUILD FAILED while Installing ruby-1.8.7-p371 in mac OS...
Hi , I have installed "ruby 1.9.3p429 " already but as per my project required i want downgrade to "1.8.7-p371" while tying with the below command i am getting the below error message , please let me know how to solve this issue ? *COMMAND : **rbenv install 1.8.7-p371* * * Downloading ruby-1.8.7-p371.tar.gz... ->