tario / getsource Goto Github PK
View Code? Open in Web Editor NEWGet the source file path of the implementation of a given method
License: GNU General Public License v3.0
Get the source file path of the implementation of a given method
License: GNU General Public License v3.0
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
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:in
body'
from (irb):2
from /usr/bin/irb1.9:12:in `
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.