mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-13 09:35:28 +08:00
Added hard requirement on bundler
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user