diff --git a/bin/flowerbox b/bin/flowerbox index 441b0d6..6406a5b 100755 --- a/bin/flowerbox +++ b/bin/flowerbox @@ -1,5 +1,11 @@ #!/usr/bin/env ruby +if !ENV['BUNDLE_GEMFILE'] && File.file?('Gemfile') + require 'bundler/setup' + + $: << File.expand_path('../../lib', __FILE__) +end + require 'flowerbox' require 'thor'