aboutsummaryrefslogtreecommitdiffstats
path: root/bin/dot2ruby
diff options
context:
space:
mode:
authorcedricnjanga2017-11-10 17:23:45 +0100
committercedricnjanga2017-11-10 17:23:45 +0100
commit3b3d3252aa514fbd5b2c12a6cc0a2825d9d8b12e (patch)
tree5d22bfc466fd50b76dd805f891b62f59132d22fa /bin/dot2ruby
parent2f8ff43fe89a8c78575fdb7a9737b5484117087c (diff)
downloadchouette-core-3b3d3252aa514fbd5b2c12a6cc0a2825d9d8b12e.tar.bz2
Add validation and specs to models on objectid_format presence
Diffstat (limited to 'bin/dot2ruby')
-rwxr-xr-xbin/dot2ruby17
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/dot2ruby b/bin/dot2ruby
new file mode 100755
index 000000000..585531cf7
--- /dev/null
+++ b/bin/dot2ruby
@@ -0,0 +1,17 @@
+#!/usr/bin/env ruby
+# frozen_string_literal: true
+#
+# This file was generated by Bundler.
+#
+# The application 'dot2ruby' is installed as part of a gem, and
+# this file is here to facilitate running it.
+#
+
+require "pathname"
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
+ Pathname.new(__FILE__).realpath)
+
+require "rubygems"
+require "bundler/setup"
+
+load Gem.bin_path("ruby-graphviz", "dot2ruby")