GithubHelp home page GithubHelp logo

drx's People

Contributors

mooffie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sophrinix t9md

drx's Issues

Compatibility with 2.0 or higher

On a mac Yosemite OsX running ruby 2.0.0 defaut install with :

  • ActiveTcl8.6.3.0.298612-macosx10.5-i386-x86_64-threaded.dmg installed
    command lauched :
  • brew install graphviz

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'

define ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG)

                        ^

1 error generated.
make: *** [drx_core.o] Error 1

make failed, exit code 2


Any idea ?

Rails and DrX

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>'

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.