mooffie / drx Goto Github PK
View Code? Open in Web Editor NEWAn object inspector for Ruby
Home Page: http://drx.rubyforge.org/
An object inspector for Ruby
Home Page: http://drx.rubyforge.org/
Currently, it saves as GIF automatically.
Also: Investigate the usability of GraphViz's SVG output.
http://www.ruby-forum.com/topic/208288#906828
"You ought to provide a drx command so I can launch it directly instead
of invoking it via irb."
On a mac Yosemite OsX running ruby 2.0.0 defaut install with :
Unfortunatly, the command :
gem install drx
output is :
cat /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14/2.0.0/drx-0.4.5/gem_make.out
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling drx_core.c
drx_core.c:109:36: error: use of undeclared identifier 'ID_ALLOCATOR'
rb_hash_aset(hash, ID2SYM(key == ID_ALLOCATOR ? id_allocator_symb : key), Qtrue);
^
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/ruby.h:363:29: note: expanded from macro 'ID2SYM'
^
1 error generated.
make: *** [drx_core.o] Error 1
make failed, exit code 2
Any idea ?
http://www.ruby-forum.com/topic/208288#906828
"The size and style drop-down boxes don't work for me if I close and
then re-open drx a second time from within irb."
http://www.ruby-forum.com/topic/208288#906754
"Only suggestion: a "back" button would be nice. I had to go to the docs
to find out that right-click = back"
Hey, I really am stoked to have found DrX today. It looks awesome and like it will save me lots of time. That being said, it seems to fundamentally fail when trying to play with Rails. I don't want to model Rails, but my libraries I'm trying to map play next to Rails, and it seemed like there would be a larger user base for your gem if these played together.
Here is what I see:
If I try to load rails console
and then require 'drx' =>
Loading development environment (Rails 3.1.3)
ruby-1.9.3-p0 :001 > require 'drx'
LoadError: cannot load such file -- drx
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from (irb):1
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/commands/console.rb:45:in `start'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/commands/console.rb:8:in `start'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/commands.rb:40:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
If I try to load my environment in an irb
session I get the same error.
If I load drx
first, I get the following, after a successful load =>
ruby-1.9.3-p0 :007 > Msrun.see
LoadError: cannot load such file -- drx/tk/app
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/drx-0.4.5/lib/drx.rb:11:in `see_using_tk'
from /home/ryanmt/.rvm/gems/ruby-1.9.3-p0/gems/drx-0.4.5/lib/drx.rb:31:in `see'
from (irb):7
from /home/ryanmt/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in `<main>'
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.