Sha256: 634b0c142fdf9916c0788202ab6352924494540978c7b6c4bb97af7ecf5a4f2a

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

Contents

## Description
Fork of [ruby\_core\_source](https://github.com/mark-moseley/ruby_core_source)
that uses included Ruby headers (\*.h and \*.inc) instead of downloading
them. Used by [debugger](http://github.com/cldwalker/debugger).

##Usage

Example use in extconf.rb:

```ruby
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.

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
debugger-ruby_core_source-1.3.5 ./README.md
debugger-ruby_core_source-1.3.5 README.md
debugger-ruby_core_source-1.3.4 ./README.md
debugger-ruby_core_source-1.3.4 README.md
debugger-ruby_core_source-1.3.3 ./README.md
debugger-ruby_core_source-1.3.3 README.md
debugger-ruby_core_source-1.3.2 ./README.md
debugger-ruby_core_source-1.3.2 README.md