Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Retrieve ruby core source files

This branch is 0 commits ahead and 0 commits behind master

Octocat-spinner-32 lib Merge branch 'andremedeiros/master' February 25, 2014
Octocat-spinner-32 CHANGELOG.md changelog for release February 25, 2014
Octocat-spinner-32 CONTRIBUTING.md add contributing February 11, 2013
Octocat-spinner-32 LEGAL add licenses April 02, 2012
Octocat-spinner-32 LICENSE.txt add licenses April 02, 2012
Octocat-spinner-32 OLD_README add readme and move old one April 02, 2012
Octocat-spinner-32 README.md changelog for release February 25, 2014
Octocat-spinner-32 RUBY_LICENSE add licenses April 02, 2012
Octocat-spinner-32 Rakefile Ruby 2.0 Support January 28, 2013
Octocat-spinner-32 debugger-ruby_core_source.gemspec Add license to gemspec November 26, 2013
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

  • @andremedeiros for 2.1.1 headers
  • @stepheneb for 1.9.2-p320 headers
  • @jeremy for 1.9.3-p286 headers
  • @eiel for 1.9.3-p327, 1.9.3-p362, 2.0.0* headers
  • @willian for 1.9.3-p374 headers
  • @formigarafa for fixing 2.1.0 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.