Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Retrieve ruby core source files
branch: master

This branch is 2 commits ahead, 59 commits behind cldwalker:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/debugger
CHANGELOG.md
LEGAL
LICENSE.txt
OLD_README
README.md
RUBY_LICENSE
Rakefile
debugger-ruby_core_source.gemspec

README.md

Description

Fork of ruby_core_source that uses included Ruby headers (*.h and *.inc) instead of downloading them. Used by debugger.

Usage

Example use in extconf.rb:

require 'ruby_core_source'
hdrs = proc { have_header("vm_core.h") and have_header("iseq.h") }
dir_config("ruby") # allow user to pass in non-standard core include directory
if !Ruby_core_source::create_makefile_with_core(hdrs, "foo")
  # error
  exit(1)
end

To add another ruby version's source to this gem's directory:

$ rake add_source VERSION=1.9.3-p0

Credits

  • @stepheneb for 1.9.2-p320 headers

LICENSE

Ruby library code is MIT license, see LICENSE.txt. Included ruby headers, lib/debugger/ruby_core_source/, are mostly Ruby license, see RUBY_LICENSE. Some headers have their own licenses, see LEGAL.

Something went wrong with that request. Please try again.