Skip to content

Instantly share code, notes, and snippets.

@fabn
Created February 9, 2013 00:36
Show Gist options
  • Save fabn/4743208 to your computer and use it in GitHub Desktop.
Save fabn/4743208 to your computer and use it in GitHub Desktop.
This is related to Rubymine issue [RUBY-12044](http://youtrack.jetbrains.com/issue/RUBY-12044)

If I put these two lines into my Gemfile and run bundle install

gem 'ruby-debug-base19x', '>= 0.11.30.pre10'
gem 'ruby-debug-ide', '>= 0.4.17.beta14'

I'm having this issue:

/Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/ruby-debug-ide-0.4.17.beta16/bin/rdebug-ide --port 59316 --dispatcher-port 59317 -- /Users/fabionapoleoni/Desktop/work/RubyMine/lists.zenit.org/script/rails server -b 0.0.0.0 -p 3000 -e development
/Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': dlopen(/Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/trace_nums19.bundle, 9): Symbol not found: _ruby_current_thread (LoadError)
  Referenced from: /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/trace_nums19.bundle
  Expected in: flat namespace
 in /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/trace_nums19.bundle - /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/trace_nums19.bundle
  from /Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/tracelines19.rb:12:in `rescue in <module:TraceLineNumbers>'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/tracelines19.rb:8:in `<module:TraceLineNumbers>'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/tracelines19.rb:6:in `<top (required)>'
	from /Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/linecache19-0.5.12/lib/linecache19.rb:69:in `<top (required)>'
	from /Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/ruby-debug-base19x-0.11.30.pre10/lib/ruby-debug-base.rb:3:in `<top (required)>'
	from /Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/ruby-debug-ide-0.4.17.beta16/lib/ruby-debug-ide.rb:6:in `<top (required)>'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/ruby-debug-ide-0.4.17.beta16/bin/rdebug-ide:8:in `require_relative'
	from /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/ruby-debug-ide-0.4.17.beta16/bin/rdebug-ide:8:in `<top (required)>'
	from -e:1:in `load'
	from -e:1:in `<main>'

Process finished with exit code 1
source 'http://rubygems.org'
gem 'rails', '3.1.10'
gem 'mysql2'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.1.0'
gem 'coffee-rails', '~> 3.1.0'
gem 'uglifier'
gem 'therubyracer'
end
gem 'unicorn'
gem 'jquery-rails'
gem 'formtastic'
gem 'rack-cache', :require => 'rack/cache'
gem 'dragonfly', '~>0.9.8'
gem 'cocoon'
gem 'redcarpet'
gem 'airbrake'
gem 'seed-fu', '~> 2.1.0'
gem 'roadie'
# console output gems
gem 'wirble'
gem 'hirb'
gem 'awesome_print'
gem 'devise'
group :development do
gem 'capistrano'
gem 'guard-rails'
end
group :development, :test do
gem 'sqlite3'
gem 'rspec-rails'
gem 'guard-rspec'
gem 'thin'
end
group :test do
gem 'simplecov'
gem 'shoulda-matchers'
gem 'factory_girl_rails'
gem 'capybara'
gem 'capybara-webkit'
gem 'mocha'
gem 'database_cleaner'
gem 'launchy'
gem 'headless'
gem 'email_spec'
gem 'spork', '> 0.9.0.rc'
gem 'guard-spork'
end
group :osx do
gem 'rb-fsevent'
gem 'growl'
end
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.10)
actionpack (= 3.1.10)
mail (~> 2.3.3)
actionpack (3.1.10)
activemodel (= 3.1.10)
activesupport (= 3.1.10)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.6)
rack-cache (~> 1.2)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.4)
activemodel (3.1.10)
activesupport (= 3.1.10)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.10)
activemodel (= 3.1.10)
activesupport (= 3.1.10)
arel (~> 2.2.3)
tzinfo (~> 0.3.29)
activeresource (3.1.10)
activemodel (= 3.1.10)
activesupport (= 3.1.10)
activesupport (3.1.10)
multi_json (>= 1.0, < 1.3)
addressable (2.2.8)
airbrake (3.0.5)
activesupport
builder
arel (2.2.3)
awesome_print (0.4.0)
bcrypt-ruby (3.0.1)
builder (3.0.4)
capistrano (2.8.0)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capybara (1.1.2)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
capybara-webkit (0.7.2)
capybara (>= 1.0.0, < 1.2)
childprocess (0.2.2)
ffi (~> 1.0.6)
cocoon (1.0.14)
coderay (1.0.8)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.1.2)
css_parser (1.2.6)
addressable
rdoc
daemons (1.1.9)
database_cleaner (0.6.7)
devise (1.4.9)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
warden (~> 1.0.3)
diff-lcs (1.1.3)
dragonfly (0.9.8)
rack
email_spec (1.2.1)
mail (~> 2.2)
rspec (~> 2.0)
erubis (2.7.0)
eventmachine (1.0.0)
execjs (1.2.9)
multi_json (~> 1.0)
factory_girl (2.1.0)
factory_girl_rails (1.2.0)
factory_girl (~> 2.1.0)
railties (>= 3.0.0)
ffi (1.0.11)
formtastic (2.0.1)
rails (~> 3.0)
growl (1.0.3)
guard (1.6.2)
listen (>= 0.6.0)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
terminal-table (>= 1.4.3)
thor (>= 0.14.6)
guard-rails (0.2.3)
guard (>= 0.2.2)
guard-rspec (0.5.9)
guard (>= 0.8.4)
guard-spork (0.2.1)
guard (>= 0.2.2)
spork (>= 0.8.4)
headless (1.0.0)
highline (1.6.2)
hike (1.2.1)
hirb (0.5.0)
i18n (0.6.1)
jquery-rails (1.0.14)
railties (~> 3.0)
thor (~> 0.14)
json (1.7.6)
json_pure (1.6.1)
kgio (2.6.0)
launchy (2.0.5)
addressable (~> 2.2.6)
libv8 (3.11.8.13)
listen (0.7.2)
lumberjack (1.0.2)
mail (2.3.3)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.1)
mime-types (1.20.1)
mocha (0.9.12)
multi_json (1.2.0)
mysql2 (0.3.11)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-sftp (2.0.5)
net-ssh (>= 2.0.9)
net-ssh (2.2.1)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
nokogiri (1.5.0)
orm_adapter (0.0.5)
polyglot (0.3.3)
pry (0.9.11.4)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
rack (1.3.10)
rack-cache (1.2)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.1.10)
actionmailer (= 3.1.10)
actionpack (= 3.1.10)
activerecord (= 3.1.10)
activeresource (= 3.1.10)
activesupport (= 3.1.10)
bundler (~> 1.0)
railties (= 3.1.10)
railties (3.1.10)
actionpack (= 3.1.10)
activesupport (= 3.1.10)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
raindrops (0.7.0)
rake (10.0.3)
rb-fsevent (0.9.3)
rdoc (3.12.1)
json (~> 1.4)
redcarpet (1.17.2)
ref (1.0.2)
roadie (2.3.1)
actionmailer (> 3.0.0, < 3.3.0)
css_parser
nokogiri (>= 1.4.4)
sprockets
rspec (2.9.0)
rspec-core (~> 2.9.0)
rspec-expectations (~> 2.9.0)
rspec-mocks (~> 2.9.0)
rspec-core (2.9.0)
rspec-expectations (2.9.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.9.0)
rspec-rails (2.9.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec (~> 2.9.0)
rubyzip (0.9.4)
sass (3.1.8)
sass-rails (3.1.4)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (>= 3.1.4)
sprockets (~> 2.0.0)
tilt (~> 1.3.2)
seed-fu (2.1.0)
activerecord (~> 3.1.0)
activesupport (~> 3.1.0)
selenium-webdriver (2.13.0)
childprocess (>= 0.2.1)
ffi (~> 1.0.9)
json_pure
rubyzip
shoulda-matchers (1.0.0.beta3)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
slop (3.4.3)
spork (0.9.0.rc9)
sprockets (2.0.4)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.4)
terminal-table (1.4.5)
therubyracer (0.11.1)
libv8 (~> 3.11.8.7)
ref
thin (1.5.0)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.35)
uglifier (1.0.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
unicorn (4.1.1)
kgio (~> 2.4)
rack
raindrops (~> 0.6)
warden (1.0.6)
rack (>= 1.0)
wirble (0.1.3)
xpath (0.1.4)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
airbrake
awesome_print
capistrano
capybara
capybara-webkit
cocoon
coffee-rails (~> 3.1.0)
database_cleaner
devise
dragonfly (~> 0.9.8)
email_spec
factory_girl_rails
formtastic
growl
guard-rails
guard-rspec
guard-spork
headless
hirb
jquery-rails
launchy
mocha
mysql2
rack-cache
rails (= 3.1.10)
rb-fsevent
redcarpet
roadie
rspec-rails
sass-rails (~> 3.1.0)
seed-fu (~> 2.1.0)
shoulda-matchers
simplecov
spork (> 0.9.0.rc)
sqlite3
therubyracer
thin
uglifier
unicorn
wirble
# Gems in the gemset, I've tried with a clean gemset
@loca ➜ rvm:(ruby-1.9.3@temp) git:(develop) gem list
*** LOCAL GEMS ***
actionmailer (3.1.10)
actionpack (3.1.10)
activemodel (3.1.10)
activerecord (3.1.10)
activeresource (3.1.10)
activesupport (3.1.10)
addressable (2.2.8)
airbrake (3.0.5)
arel (2.2.3)
awesome_print (0.4.0)
bcrypt-ruby (3.0.1)
builder (3.0.4)
bundler (1.2.3, 1.2.1)
capistrano (2.8.0)
capybara (1.1.2)
capybara-webkit (0.7.2)
childprocess (0.2.2)
cocoon (1.0.14)
coderay (1.0.8)
coffee-rails (3.1.1)
coffee-script (2.2.0)
coffee-script-source (1.1.2)
css_parser (1.2.6)
daemons (1.1.9)
database_cleaner (0.6.7)
debugger-ruby_core_source (1.1.8)
devise (1.4.9)
diff-lcs (1.1.3)
dragonfly (0.9.8)
email_spec (1.2.1)
erubis (2.7.0)
eventmachine (1.0.0)
execjs (1.2.9)
factory_girl (2.1.0)
factory_girl_rails (1.2.0)
ffi (1.0.11)
formtastic (2.0.1)
growl (1.0.3)
guard (1.6.2)
guard-rails (0.2.3)
guard-rspec (0.5.9)
guard-spork (0.2.1)
headless (1.0.0)
highline (1.6.2)
hike (1.2.1)
hirb (0.5.0)
i18n (0.6.1)
jquery-rails (1.0.14)
json (1.7.6)
json_pure (1.6.1)
jsonpretty (1.1.0)
kgio (2.6.0)
launchy (2.0.5)
libv8 (3.11.8.13 x86_64-darwin-12)
listen (0.7.2)
lumberjack (1.0.2)
mail (2.3.3)
method_source (0.8.1)
mime-types (1.20.1)
mocha (0.9.12)
multi_json (1.2.0)
mysql2 (0.3.11)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.2.1)
net-ssh-gateway (1.1.0)
nokogiri (1.5.0)
orm_adapter (0.0.5)
polyglot (0.3.3)
pry (0.9.11.4)
rack (1.3.10)
rack-cache (1.2)
rack-mount (0.8.3)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.1.10)
railties (3.1.10)
raindrops (0.7.0)
rake (10.0.3, 10.0.2, 0.9.2.2)
rb-fsevent (0.9.3)
rdoc (3.12.1)
redcarpet (1.17.2)
ref (1.0.2)
roadie (2.3.1)
rspec (2.9.0)
rspec-core (2.9.0)
rspec-expectations (2.9.1)
rspec-mocks (2.9.0)
rspec-rails (2.9.0)
ruby-debug-base19x (0.11.30.pre11)
ruby-debug-ide (0.4.17.beta16)
rubygems-bundler (1.1.0)
rubyzip (0.9.4)
rvm (1.11.3.5)
sass (3.1.8)
sass-rails (3.1.4)
seed-fu (2.1.0)
selenium-webdriver (2.13.0)
shoulda-matchers (1.0.0.beta3)
simplecov (0.7.1)
simplecov-html (0.7.1)
slop (3.4.3)
spork (0.9.0.rc9)
sprockets (2.0.4)
sqlite3 (1.3.4)
terminal-table (1.4.5)
therubyracer (0.11.1)
thin (1.5.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.12)
tzinfo (0.3.35)
uglifier (1.0.3)
unicorn (4.1.1)
warden (1.0.6)
wirble (0.1.3)
xpath (0.1.4)

If I let RM install ruby debug gems I get a timeout dialog and this output in console

If I don't list any debug gem in my gemfile and let RM install them I get the attacched screenshot and this output in console:

/Users/fabionapoleoni/.rvm/rubies/ruby-1.9.3-p374/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p374@lists/gems/ruby-debug-ide-0.4.17.beta16/bin/rdebug-ide --port 59360 --dispatcher-port 59361 -- /Users/fabionapoleoni/Desktop/work/RubyMine/lists.zenit.org/script/rails server -b 0.0.0.0 -p 3000 -e development
Fast Debugger (ruby-debug-ide 0.4.17.beta16, ruby-debug-base19x 0.11.30.pre11) listens on 127.0.0.1:59360

Process finished with exit code 137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment