indirect / jquery-rails

A gem to automate using jQuery with Rails 3
MIT License
465 stars 36 forks source link

Segmentation fault when pg gem loaded #52

Closed plang closed 13 years ago

plang commented 13 years ago

Hi,

When the pg gem is loaded, rails g jquery:install segfaults:

macbook-pro-de-philippe-lang:fart plang$ rails g jquery:install remove public/javascripts/controls.js remove public/javascripts/dragdrop.js remove public/javascripts/effects.js remove public/javascripts/prototype.js fetching jQuery (1.5) identical public/javascripts/jquery.js identical public/javascripts/jquery.min.js fetching jQuery UJS adapter (github HEAD)

 /Users/plang/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678: 
[BUG] Segmentation fault ruby 1.9.2p180 (2011-02-18 revision 30909)
[x86_64-darwin10.6.0]

As soon as you comment it in the Gemfile, everything runs fine.

Any idea what kind of conflict there can be between jquery-rails and pg gems?

bhavinkamani commented 13 years ago

I am facing exact same problem. No idea about the conflict with pg gem. Cant find any reference to the gem in the stack trace.

matt-potter commented 13 years ago

Same problem here, have tried p136 and p180. Again, works fine when gem pg commented out.

indirect commented 13 years ago

Since this appears to be a problem between the pg gem and Net::HTTP, I'm not sure how I can comment on it. Furthermore, the 1.0.1 release of this gem no longer downloads any files, so this shouldn't be an issue anyway.