RM_VERSION

This commit is contained in:
Jamon Holmgren
2014-09-22 13:03:30 -07:00
parent 702da00313
commit d887a9fb27

View File

@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
unless File.exist?("/Library/RubyMotion2.33/lib")
abort "Couldn't find RubyMotion 2.33. Run `sudo motion update --cache-version=2.33`."
RM_VERSION = "2.33"
unless File.exist?("/Library/RubyMotion#{RM_VERSION}/lib")
abort "Couldn't find RubyMotion #{RM_VERSION}. Run `sudo motion update --cache-version=#{RM_VERSION}`."
end
$:.unshift("/Library/RubyMotion2.33/lib")
$:.unshift("/Library/RubyMotion#{RM_VERSION}/lib")
require 'motion/project/template/ios'
require 'bundler'
Bundler.require(:development)