diff --git a/.travis.yml b/.travis.yml index 0435949..65ad321 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ before_install: - (ruby --version) - sudo chown -R travis ~/Library/RubyMotion - mkdir -p ~/Library/RubyMotion/build - - sudo motion update --cache-version=3.6 + - sudo motion update gemfile: - Gemfile script: diff --git a/Rakefile b/Rakefile index 9608aea..bb86eb4 100644 --- a/Rakefile +++ b/Rakefile @@ -1,9 +1,5 @@ # -*- coding: utf-8 -*- -RM_VERSION = "3.6" # Update .travis.yml too -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/RubyMotion#{RM_VERSION}/lib") +$:.unshift("/Library/RubyMotion/lib") require 'motion/project/template/ios' require 'bundler' Bundler.require(:development)