Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load the ruby-graphiz or active_support gems for rendering: cannot load such file -- ruby-graphviz #213

Closed
stefanahman opened this issue Mar 12, 2019 · 4 comments

Comments

@stefanahman
Copy link

Hello,

I'm getting the following output when running the specs:

Could not load the ruby-graphiz or active_support gems for rendering: cannot load such file -- ruby-graphviz

This change (3f0c4bb#diff-28d45968cd6c27b76bdd91f787ade161) adds a warning every time ruby-graphviz cannot be loaded.

Is it possible to skip this warning since it is optional? Quoting:

Important: If you're interested in graphing your workflow state machine, you will also need to install the activesupport and ruby-graphviz gems.

Thanks!

geekq pushed a commit that referenced this issue Mar 12, 2019
(it is not about active_record)
@geekq geekq closed this as completed in e033f20 Mar 12, 2019
@geekq
Copy link
Owner

geekq commented Mar 12, 2019

@stefanahman Please try out by referencing the development version

gem "workflow", git: "git@github.com:geekq/workflow.git", branch: "develop"

geekq pushed a commit that referenced this issue Mar 12, 2019
geekq pushed a commit that referenced this issue Mar 12, 2019
Note to myself: use git branch and squash commits next time
@stefanahman
Copy link
Author

@stefanahman Please try out by referencing the development version

gem "workflow", git: "git@github.com:geekq/workflow.git", branch: "develop"

I'm still getting the warnings. These warning also applies for workflow-activerecord, which is the actual gem that I require in the Gemfile.

@geekq
Copy link
Owner

geekq commented Apr 4, 2019

It looks like rake test require's all the files in all subfolders. So I now moved require 'ruby-graphviz' even deeper into implementation. Please try out the new version @stefanahman @wingice

@stefanahman
Copy link
Author

It looks like rake test require's all the files in all subfolders. So I now moved require 'ruby-graphviz' even deeper into implementation. Please try out the new version @stefanahman @wingice

Perfect! I got the warning message twice before, now it's shown only once. Please look at
geekq/workflow-activerecord#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants