diff --git a/lib/motion/project/template/gem/files/Gemfile b/lib/motion/project/template/gem/files/Gemfile new file mode 100644 index 00000000..764be634 --- /dev/null +++ b/lib/motion/project/template/gem/files/Gemfile @@ -0,0 +1,4 @@ +source 'https://rubygems.org' + +gem 'rake' +# Add your dependencies here: diff --git a/lib/motion/project/template/gem/files/Rakefile.erb b/lib/motion/project/template/gem/files/Rakefile.erb index a80d34de..5f259a17 100644 --- a/lib/motion/project/template/gem/files/Rakefile.erb +++ b/lib/motion/project/template/gem/files/Rakefile.erb @@ -6,6 +6,7 @@ require './lib/<%= name %>' begin require 'bundler' require 'motion/project/template/gem/gem_tasks' + Bundler.require rescue LoadError end