You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and result
Files are automatically loaded in Rails; ignoring FILE option
/Users/ruslanvoloshin/.rvm/gems/ruby-2.2.0/bin/rake: No such file or directory - ps
rake aborted!
StandardError: GraphViz not installed or dot not in PATH. Install GraphViz or use the 'path' option
/Users/ruslanvoloshin/.rvm/gems/ruby-2.2.0/gems/ruby-graphviz-1.2.1/lib/graphviz.rb:544:in output' /Users/ruslanvoloshin/.rvm/gems/ruby-2.2.0/gems/state_machine-1.2.0/lib/state_machine/graph.rb:52:inoutput'
The text was updated successfully, but these errors were encountered:
rails 4.2
Gemfile
gem 'state_machine'
gem 'ruby-graphviz', '1.2.1', :require => 'graphviz'
bundle exec rake state_machine:draw FILE=house_contact.rb CLASS=UserHouse PATH=./doc/
bundle exec rake state_machine:draw FILE=house_contact.rb CLASS=UserHouse
and result
Files are automatically loaded in Rails; ignoring FILE option
/Users/ruslanvoloshin/.rvm/gems/ruby-2.2.0/bin/rake: No such file or directory - ps
rake aborted!
StandardError: GraphViz not installed or dot not in PATH. Install GraphViz or use the 'path' option
/Users/ruslanvoloshin/.rvm/gems/ruby-2.2.0/gems/ruby-graphviz-1.2.1/lib/graphviz.rb:544:in
output' /Users/ruslanvoloshin/.rvm/gems/ruby-2.2.0/gems/state_machine-1.2.0/lib/state_machine/graph.rb:52:in
output'The text was updated successfully, but these errors were encountered: