indirect / jquery-rails

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

Seg fault in 1.5 version? #39

Closed lightserve closed 13 years ago

lightserve commented 13 years ago

rvm / snow leopard / 1.9.2 / 3.0.3

Ovid:proj dlipa$ rails generate jquery:install --ui remove public/javascripts/controls.js remove public/javascripts/dragdrop.js remove public/javascripts/effects.js remove public/javascripts/prototype.js fetching jQuery (1.5) create public/javascripts/jquery.js create public/javascripts/jquery.min.js fetching jQuery UI (latest 1.x release) create public/javascripts/jquery-ui.js create public/javascripts/jquery-ui.min.js fetching jQuery UJS adapter (github HEAD) /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677: [BUG] Segmentation fault ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]

-- control frame ---------- c:0040 p:---- s:0195 b:0195 l:000194 d:000194 CFUNC :connect c:0039 p:0440 s:0192 b:0192 l:000838 d:000838 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677 c:0038 p:0011 s:0185 b:0185 l:000184 d:000184 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:637 c:0037 p:0048 s:0182 b:0182 l:000181 d:000181 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:626 c:0036 p:0646 s:0179 b:0179 l:000178 d:000178 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:306 c:0035 p:0024 s:0159 b:0159 l:000158 d:000158 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:769 c:0034 p:0047 s:0153 b:0153 l:001950 d:000152 BLOCK /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:203 c:0033 p:---- s:0151 b:0151 l:000150 d:000150 FINISH c:0032 p:---- s:0149 b:0149 l:000148 d:000148 CFUNC :catch c:0031 p:0491 s:0145 b:0145 l:001950 d:001950 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:201 c:0030 p:0328 s:0131 b:0131 l:000130 d:000130 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:146 c:0029 p:0022 s:0120 b:0120 l:000119 d:000119 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:671 c:0028 p:0096 s:0115 b:0115 l:000114 d:000114 METHOD /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:33 c:0027 p:0103 s:0108 b:0108 l:000bd8 d:000bd8 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:77 c:0026 p:0031 s:0099 b:0099 l:000098 d:000098 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/jquery-rails-0.2.7/lib/generators/jquery/install/install_generator.rb:34 c:0025 p:0036 s:0096 b:0096 l:000095 d:000095 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/task.rb:22 c:0024 p:0071 s:0090 b:0090 l:000089 d:000089 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:118 c:0023 p:0012 s:0084 b:0084 l:000070 d:000083 BLOCK /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:124 c:0022 p:---- s:0080 b:0080 l:000079 d:000079 FINISH c:0021 p:---- s:0078 b:0078 l:000073 d:000077 IFUNC c:0020 p:---- s:0076 b:0076 l:000075 d:000075 CFUNC :each c:0019 p:---- s:0074 b:0074 l:000073 d:000073 CFUNC :map c:0018 p:0023 s:0071 b:0071 l:000070 d:000070 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:124 c:0017 p:0152 s:0068 b:0068 l:000067 d:000067 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/group.rb:226 c:0016 p:0102 s:0059 b:0059 l:000058 d:000058 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/base.rb:389 c:0015 p:0114 s:0053 b:0053 l:000052 d:000052 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/generators.rb:163 c:0014 p:0154 s:0045 b:0045 l:000044 d:000044 TOP /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/generate.rb:10 c:0013 p:---- s:0042 b:0042 l:000041 d:000041 FINISH c:0012 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC :require c:0011 p:0012 s:0036 b:0036 l:000020 d:000035 BLOCK /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239 c:0010 p:0005 s:0034 b:0034 l:000025 d:000033 BLOCK /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225 c:0009 p:0045 s:0032 b:0032 l:000031 d:000031 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596 c:0008 p:0041 s:0026 b:0026 l:000025 d:000025 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225 c:0007 p:0013 s:0021 b:0021 l:000020 d:000020 METHOD /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239 c:0006 p:0346 s:0016 b:0016 l:000015 d:000015 TOP /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands.rb:17 c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0061 s:0006 b:0006 l:0014d8 d:0009a8 EVAL script/rails:6 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH

c:0001 p:0000 s:0002 b:0002 l:0014d8 d:0014d8 TOP

-- Ruby level backtrace information ---------------------------------------- script/rails:6:in <main>' script/rails:6:inrequire' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands.rb:17:in <top (required)>' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:inrequire' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:innew_constants_in' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in block in load_dependency' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:inblock in require' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/generate.rb:10:in<top (required)>' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/generators.rb:163:in invoke' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/base.rb:389:instart' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/group.rb:226:in dispatch' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:124:ininvoke_all' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:124:in map' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:124:ineach' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:124:in block in invoke_all' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/invocation.rb:118:ininvoke_task' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/task.rb:22:in run' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/jquery-rails-0.2.7/lib/generators/jquery/install/install_generator.rb:34:indownload_ujs_driver' /Users/dlipa/.rvm/gems/ruby-1.9.2-p136/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:77:in get' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:33:inopen' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:671:in open' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:146:inopen_uri' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:201:in open_loop' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:201:incatch' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:203:in block in open_loop' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:769:inbuffer_open' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:306:in open_http' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:626:instart' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:637:in do_start' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677:inconnect' /Users/dlipa/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677:in `connect'

raw1z commented 13 years ago

I have the same bug with jquery-rails

htp commented 13 years ago

Odd, I'm also using Snow Leopard, Rails 3.0.3, and Ruby 1.9.2 installed via RVM, and I can't reproduce the problem.

Could you guys share your Gemfiles and the result of gem list?

raw1z commented 13 years ago

my Gemfile :

source 'http://rubygems.org'

gem 'rails', '3.0.3'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'mysql2'

gem 'haml'
gem 'haml-rails'
gem 'compass'
gem 'jquery-rails'

gem 'devise'
gem 'simple_form'
gem 'inherited_resources', '~> 1.2.1'
gem 'meta_where'
gem 'meta_search'
# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19'

# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'

# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
group :development, :test do
  gem 'faker'
  gem 'awesome_print'
  gem 'rspec-rails'
  gem 'cucumber-rails'
  gem 'pickle'
  gem 'factory_girl_rails'
  gem 'capybara'
  gem 'launchy'
  gem 'database_cleaner'
end

My gem list :

abstract (1.0.0)
actionmailer (3.0.3)
actionpack (3.0.3)
activemodel (3.0.3)
activerecord (3.0.3)
activeresource (3.0.3)
activesupport (3.0.3)
acts_as_indexed (0.6.6)
addressable (2.2.4)
amistad (0.6.0)
archive-tar-minitar (0.5.2)
arel (2.0.8, 2.0.7)
aruba (0.3.2)
authlogic (2.1.6)
autotest (4.4.6)
autotest-fsevent (0.2.4)
autotest-growl (0.2.9)
autotest-rails (4.1.0)
awesome_print (0.3.2)
babosa (0.2.2)
background_process (1.2)
bcrypt-ruby (2.1.4)
bond (0.4.0)
bson (1.2.0)
bson_ext (1.2.0)
builder (3.0.0, 2.1.2)
bundler (1.0.10, 1.0.3)
bunny (0.6.0)
cancan (1.5.1)
capistrano (2.5.19)
capybara (0.4.1.1)
carrierwave (0.5.1)
celerity (0.8.7)
cells (3.4.4)
chef (0.9.12)
childprocess (0.1.6)
chronic_duration (0.9.2)
coderay (0.9.7)
columnize (0.3.2)
compass (0.10.6)
compass-susy-plugin (0.8.1)
configuration (1.2.0)
crack (0.1.8)
cucumber (0.10.0)
cucumber-rails (0.3.2)
culerity (0.2.15)
daemon_controller (0.2.5)
daemons (1.1.0)
database_cleaner (0.6.2)
devise (1.1.5)
diff-lcs (1.1.2)
dragonfly (0.8.2)
durran-validatable (2.0.1)
em-http-request (0.3.0)
em-websocket (0.2.0)
erubis (2.6.6)
escape (0.0.4)
escape_utils (0.1.9)
eventmachine (0.12.10)
eventmachine_httpserver (0.2.1)
extlib (0.9.15)
facteur (1.2.0)
factory_girl (1.3.3)
factory_girl_rails (1.0.1)
faker (0.9.5)
fancy-buttons (1.0.6)
fastthread (1.0.7)
ffi (1.0.5, 0.6.3)
file-tail (1.0.5)
filters_spam (0.3)
friendly_id (3.2.1)
friendly_id_globalize3 (3.2.1)
gem-man (0.2.0)
gherkin (2.3.3)
git (1.2.5)
globalize3 (0.1.0.beta)
growl (1.0.3)
guard (0.3.0)
guard-spork (0.1.3)
haml (3.0.25)
haml-rails (0.3.4)
has_scope (0.5.0)
heroku (1.17.10)
highline (1.6.1)
hirb (0.3.6)
hoe (2.9.0)
hpricot (0.8.3)
http_router (0.5.3)
httparty (0.7.3)
i18n (0.5.0)
inherited_resources (1.2.1)
inherited_resources_views (0.4.1)
jeweler (1.5.2)
jnunemaker-validatable (1.8.4)
joint (0.5.5)
jquery-rails (0.2.7, 0.2.6)
json (1.5.1, 1.4.6)
json_pure (1.5.1)
launchy (0.3.7)
linecache19 (0.5.11)
mail (2.2.15)
meta_search (1.0.1)
meta_where (1.0.1)
mime-types (1.16)
mini_magick (3.2)
mixlib-authentication (1.1.4)
mixlib-cli (1.2.0)
mixlib-config (1.1.2)
mixlib-log (1.2.0)
moneta (0.6.0)
mongo (1.2.0)
mongo_mapper (0.8.6)
mongoid (2.0.0.rc.7, 2.0.0.rc.3, 2.0.0.beta.20)
moretea-awesome_nested_set (1.4.3.1)
mustache (0.12.0)
mysql (2.8.1)
mysql2 (0.2.6)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.1.0)
net-ssh-gateway (1.0.1)
net-ssh-multi (1.0.1)
nokogiri (1.4.4)
oauth (0.4.4)
ohai (0.5.8)
open_gem (1.4.2)
padrino-core (0.9.20)
padrino-helpers (0.9.20)
paperclip (2.3.8)
passenger (3.0.2)
pickle (0.4.4)
plucky (0.3.6)
polyglot (0.3.1)
pr_geohash (1.0.0)
qwandry (0.1.4)
rack (1.2.1)
rack-cache (1.0)
rack-mount (0.6.13)
rack-test (0.5.7)
rails (3.0.3)
rails3-generators (0.17.4)
railties (3.0.3)
rake (0.8.7)
raw1z-app (0.0.5)
rb-fsevent (0.3.9)
rcov (0.9.9)
rdiscount (1.6.8)
rdoc (3.5.1)
refinerycms (0.9.9)
refinerycms-i18n (0.9.9.7)
refinerycms-inquiries (0.9.9.9)
responders (0.6.2)
rest-client (1.6.1)
riddle (1.2.2)
ripl (0.3.1)
ripl-after_rc (0.1.0)
ripl-auto_indent (0.1.3)
ripl-color_error (0.1.1)
ripl-color_result (0.3.0)
ripl-color_streams (0.1.2)
ripl-commands (0.2.1)
ripl-irb (0.2.2)
ripl-multi_line (0.2.2)
ripl-play (0.2.1)
ripl-profiles (0.1.4)
ripl-rocket (0.1.1)
ripl-short_errors (0.1.0)
ripltools (0.1.1)
rmagick (2.13.1)
routing-filter (0.2.3)
rsolr (1.0.0)
rspec (2.5.0, 2.4.0)
rspec-core (2.5.1, 2.4.0)
rspec-expectations (2.5.0, 2.4.0)
rspec-mocks (2.5.0, 2.4.0)
rspec-rails (2.5.0, 2.4.1)
ruby-debug-base19 (0.11.24)
ruby-debug19 (0.11.6)
ruby_core_source (0.1.4)
ruby_parser (2.0.5)
rubyforge (2.0.4)
rubygems-update (1.5.0)
rubyzip (0.9.4)
safe_shell (1.0.0)
selenium-webdriver (0.1.2)
sequel (3.20.0)
sexp_processor (3.0.5)
shotgun (0.8)
simple_form (1.3.1, 1.3.0)
sinatra (1.1.2)
sinatra_warden (0.3.2)
slim (0.9.0)
spork (0.8.4)
spruz (0.2.2)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)
stackdeck (0.2.0)
subexec (0.0.4)
sunspot (1.2.1)
sunspot_rails (1.2.1)
syntax (1.0.0)
sys-uname (0.8.5)
systemu (1.2.0)
temple (0.1.7)
term-ansicolor (1.0.5)
test-unit (2.1.2)
thin (1.2.7)
thor (0.14.6)
tilt (1.2.2)
transitions (0.0.9)
treetop (1.4.9)
truncate_html (0.5.0)
tzinfo (0.3.24)
unicode-display_width (0.1.1)
url_mount (0.2.1)
uuidtools (2.1.2)
validates_lengths_from_database (0.1.2)
verser (0.0.1)
vestal_versions (1.0.2)
wand (0.4)
warden (1.0.3)
will_paginate (3.0.pre2)
wirb (0.2.4)
xpath (0.1.3)
yard (0.6.4)
ZenTest (4.4.2)
lightserve commented 13 years ago

source 'http://rubygems.org' gem 'rails', '3.0.3' gem 'mysql2' gem 'pg'

gem 'foreigner' gem 'haml' gem 'haml-rails', :group => :development gem 'capistrano' gem 'nokogiri' gem 'simple_form' gem 'carmen' gem 'money' gem 'nifty-generators', :git => 'http://github.com/JonasNielsen/nifty-generators.git' gem 'yammer4r' gem 'ruby-freshbooks' gem "bcrypt-ruby", :require => "bcrypt" gem "mocha", :group => :test gem 'authlogic' group :test do gem 'sham' gem 'database_cleaner' gem 'cucumber-rails' gem 'cucumber' gem 'rspec-rails' gem 'spork' gem 'machinist' gem 'faker' gem 'capybara' gem 'launchy' end

Ovid:proj dlipa$ gem list

* LOCAL GEMS *

aaronh-chronic (0.3.9) abstract (1.0.0) actionmailer (3.0.4, 3.0.3) actionpack (3.0.4, 3.0.3) activemodel (3.0.4, 3.0.3) activerecord (3.0.4, 3.0.3) activeresource (3.0.4, 3.0.3) activesupport (3.0.4, 3.0.3) archive-tar-minitar (0.5.2) arel (2.0.7) authlogic (2.1.6) aws-s3 (0.6.2) backup (2.4.4) bcrypt-ruby (2.1.4) builder (3.0.0, 2.1.2) bundler (1.0.10) capistrano (2.5.19) capybara (0.4.1.1, 0.4.0) carmen (0.2.5, 0.2.4) celerity (0.8.7) childprocess (0.1.6) cloudfiles (1.4.10) comma (0.3.2) configuration (1.2.0) crack (0.1.8) cucumber (0.10.0) cucumber-rails (0.3.2) culerity (0.2.15, 0.2.14) daemon_controller (0.2.5) database_cleaner (0.6.1, 0.6.0) diff-lcs (1.1.2) docsplit (0.5.0) dropbox (1.2.3) erubis (2.6.6) excon (0.4.0) faker (0.9.5, 0.9.4) fastercsv (1.5.4) fastthread (1.0.7) ffi (1.0.5, 0.6.3) file-tail (1.0.5) fog (0.3.34) foreigner (0.9.1) formatador (0.0.16) gherkin (2.3.3) haml (3.0.25) haml-rails (0.3.4) heroku (1.17.10, 1.17.8) highline (1.6.1) hirb (0.3.6) hoptoad_notifier (2.4.5) hpricot (0.8.3) httparty (0.7.3, 0.7.2) i18n (0.5.0) jquery-rails (0.2.7) json (1.5.1, 1.4.6) json_pure (1.5.1, 1.4.6) launchy (0.3.7) machinist (2.0.0.beta2, 1.0.6) mail (2.2.15, 2.2.14) mash (0.1.1) mechanize (1.0.0) memcache-client (1.8.5) mime-types (1.16) mocha (0.9.10) money (3.5.5) multipart-post (1.1.0) mysql (2.8.1) mysql2 (0.2.6) ncurses (1.2.4) net-scp (1.0.4) net-sftp (2.0.5) net-ssh (2.1.0, 2.0.24) net-ssh-gateway (1.0.1) nifty-generators (0.4.4) nokogiri (1.4.4) oauth (0.4.4, 0.4.3) paperclip (2.3.8) passenger (3.0.2) pg (0.10.1) polyglot (0.3.1) pony (1.1) racc (1.4.6) rack (1.2.1) rack-mount (0.6.13) rack-test (0.5.7) rails (3.0.4, 3.0.3) railties (3.0.4, 3.0.3) rake (0.8.7) rest-client (1.6.1) rexical (1.0.5) rmagick (2.13.1) rspec (2.5.0, 2.4.0) rspec-core (2.5.1, 2.4.0) rspec-expectations (2.5.0, 2.4.0) rspec-mocks (2.5.0, 2.4.0) rspec-rails (2.5.0, 2.4.1) ruby-freshbooks (0.4.0) ruby-hmac (0.4.0) ruby_parser (2.0.5) rubygems-update (1.5.0, 1.4.2) rubyzip (0.9.4) selenium-webdriver (0.1.2) sequel (3.20.0, 3.17.0) sexp_processor (3.0.5) sham (0.4.0) signatory (0.0.6, 0.0.4) simple_form (1.3.0) sinatra (1.1.2, 1.0) snowleopard-ncurses (1.2.4) spork (0.8.4) spruz (0.2.2) sqlite3 (1.3.3) sqlite3-ruby (1.3.3) taps (0.3.15) term-ansicolor (1.0.5) thor (0.14.6) tilt (1.2.2) treetop (1.4.9) tzinfo (0.3.24) webrat (0.7.3) whenever (0.6.2) xapian-full (1.2.3) xml-simple (1.0.14) xpath (0.1.3) yammer4r (0.1.5)

Ovid:proj dlipa$ gem ENVIRONMENT RubyGems Environment:

nurey commented 13 years ago

same problem here. any workaround?

lightserve commented 13 years ago

upgrading to rubygems 1.5.2 and rails 3.0.4 seemed to resolve the problem for me

nurey commented 13 years ago

No luck here. upgraded to rubygems 1.5.2 and rails 3.0.4. Using the latest rvm from head and ruby 1.9.2-p136

htp commented 13 years ago

Sorry for the delay, gents- I'm taking a look into this now. I'll post back when I'm done poking around; hopefully, we'll get to the bottom of this.

htp commented 13 years ago

Well, this is unfortunate: I couldn't reproduce the issue using either of the listed gem setups using ruby 1.9.2-p0, 1.9.2-p136, or 1.9.2-p180.

lightserve seems to be doing alright now; so:

@nurey and @raw1z: have you guys tried upgrading RVM and ruby?

nurey commented 13 years ago

@htp still no luck. I get the same segfault. Latest rvm and ruby 1.9.2-p136.

/Users/ilia/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677: [BUG] Segmentation fault ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]

htp commented 13 years ago

Could I persuade you to try ruby 1.9.2-p180?

nurey commented 13 years ago

same result, unfortunately. http://pastebin.com/SvBSHy5d

lightserve commented 13 years ago

actually i still get this error, sorry

but it's only when i use the --ui option

nurey commented 13 years ago

Turns out my ruby was compiled with macports' openssl.

Here's what I did to fix the segfault: rvm package install openssl rvm remove 1.9.2 rvm install 1.9.2 --with-openssl-dir=$HOME/.rvm/usr

Reference: http://rvm.beginrescueend.com/packages/openssl/

lightserve commented 13 years ago

thank you i will try this soon

htp commented 13 years ago

Ah, this could be it. I'm running the stock OpenSSL that comes with OS X.

nurey commented 13 years ago

I spoke too soon. I still get the error. I'm not sure if --with-openssl-dir actually works.

alanramsay commented 13 years ago

I have the same problem as the original poster. Has anyone had any luck fixing this one?

nurey commented 13 years ago

The way I finally fixed this is by removing MacPorts completely (http://guide.macports.org/chunked/installing.macports.uninstalling.html) and installing HomeBrew (http://mxcl.github.com/homebrew/) instead. Then reinstall ruby using rvm.

plang commented 13 years ago

There is apparently the same problem when the pg gem is loaded. I have opened a new issue for that.

kedare commented 13 years ago

Not sure, I continue to have this issue even after uninstalling the pg gem... Really strange.

indirect commented 13 years ago

The 1.0.1 gem doesn't download anything anymore, so this is hopefully fixed. Let me know if it's not. Thanks!