Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Swap to the debugger-ruby_core_source gem

The ruby_source_gem is not maintained so swap to a maintained fork. As
an added bonus the work does not download files off the internet.
  • Loading branch information...
commit a632a4522682893f580a7f492320a7237000c8b7 1 parent f39c7c9
Petteri Räty betelgeuse authored committed
Showing with 6 additions and 6 deletions.
  1. +6 −6 ext/extconf.rb
12 ext/extconf.rb
View
@@ -13,17 +13,17 @@ def sys(cmd)
if RUBY_VERSION >= "1.9"
begin
- require "ruby_core_source"
+ require "debugger/ruby_core_source"
rescue LoadError
require 'rubygems/user_interaction' # for 1.9.1
require 'rubygems/dependency_installer'
installer = Gem::DependencyInstaller.new
- installer.install 'ruby_core_source'
+ installer.install 'debugger-ruby_core_source'
Gem.refresh
- Gem.activate('ruby_core_source') # for 1.9.1
+ Gem.activate('debugger-ruby_core_source') # for 1.9.1
- require "ruby_core_source"
+ require "debugger/ruby_core_source"
end
end
@@ -102,10 +102,10 @@ def add_define(name)
have_header("insns_info.inc")
}
- unless Ruby_core_source::create_makefile_with_core(hdrs, "perftools")
+ unless Debugger::RubyCoreSource::create_makefile_with_core(hdrs, "perftools")
STDERR.puts "\n\n"
STDERR.puts "***************************************************************************************"
- STDERR.puts "********************** Ruby_core_source::create_makefile FAILED ***********************"
+ STDERR.puts "****************** Debugger::RubyCoreSource::create_makefile FAILED *******************"
STDERR.puts "***************************************************************************************"
exit(1)
end
Please sign in to comment.
Something went wrong with that request. Please try again.