Giter VIP home page Giter VIP logo

getsource's People

Contributors

tario avatar

Stargazers

 avatar

Watchers

 avatar

getsource's Issues

Does not compile in 1.9.x

The native extension code requires node_defs.h, which does not exist in 1.9.x.

getsource_base (master)$ make
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.6.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long  -pipe -DRUBY1_9 -o getsource_base.o  -o getsource_base.o -c getsource_base.c
getsource_base.c:29:23: error: node_defs.h: No such file or directory

Method#body fails on ruby1.9 for C methods/internals

irb(main):002:0> 4.method(:to_s).body
NoMethodError: undefined method []' for nil:NilClass from /var/lib/gems/1.9.0/gems/getsource-0.2.0/lib/getsource.rb:40:inbody'
from (irb):2
from /usr/bin/irb1.9:12:in `

'

Jruby

I am trying out jruby-9.0.0.0.pre1 this gem is included in your sandbox, but it requires the C extensions. I a commit that said the extension was not needed in ruby 2.2 is this also the case for Jruby? I am using your sandbox gem which requires getsource as a dependency.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.