Added hard requirement on bundler

This commit is contained in:
Vladimir Pouzanov
2012-06-02 11:56:48 +03:00
parent c14c432602
commit 3788f9fbfa
2 changed files with 7 additions and 0 deletions

View File

@@ -39,6 +39,9 @@ if $?.exitstatus == 2
puts ''
end
require 'bundler/setup'
Bundler.require
desc "Build the project, then run the simulator"
task :default => :simulator

View File

@@ -88,6 +88,10 @@ module Motion; module Project
App.log 'Create', app_name
Dir.mkdir(app_name)
Dir.chdir(app_name) do
App.log 'Create', File.join(app_name, 'Gemfile')
File.open('Gemfile', 'w') do |io|
io.puts ''
end
App.log 'Create', File.join(app_name, '.gitignore')
File.open('.gitignore', 'w') do |io|
io.puts ".repl_history"