lib/stationed/generators/plugins/stationed.rb in stationed-0.4.0 vs lib/stationed/generators/plugins/stationed.rb in stationed-0.5.0

- old
+ new

@@ -1,5 +1,7 @@ +require 'stationed/version' + module Stationed module Generators module Plugins module Stationed def self.prepended(base) @@ -9,10 +11,10 @@ desc: 'Include stationed itself as an engine' end def finish_template return super unless options[:stationed] - gem 'stationed', path: '~/code/stationed' + gem 'stationed', ::Stationed::VERSION super end end end end