mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-11 11:39:09 +08:00
integrate Bundler
This commit is contained in:
3
lib/motion/project/template/ios/files/Gemfile
Normal file
3
lib/motion/project/template/ios/files/Gemfile
Normal file
@@ -0,0 +1,3 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
# Add your dependencies here:
|
||||
@@ -2,6 +2,12 @@
|
||||
$:.unshift("/Library/RubyMotion/lib")
|
||||
require 'motion/project/template/ios'
|
||||
|
||||
begin
|
||||
require 'bundler'
|
||||
Bundler.require
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
Motion::Project::App.setup do |app|
|
||||
# Use `rake config' to see complete project settings.
|
||||
app.name = '<%= name %>'
|
||||
|
||||
3
lib/motion/project/template/osx/files/Gemfile
Normal file
3
lib/motion/project/template/osx/files/Gemfile
Normal file
@@ -0,0 +1,3 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
# Add your dependencies here:
|
||||
@@ -2,6 +2,12 @@
|
||||
$:.unshift("/Library/RubyMotion/lib")
|
||||
require 'motion/project/template/osx'
|
||||
|
||||
begin
|
||||
require 'bundler'
|
||||
Bundler.require
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
Motion::Project::App.setup do |app|
|
||||
# Use `rake config' to see complete project settings.
|
||||
app.name = '<%= name %>'
|
||||
|
||||
Reference in New Issue
Block a user