unless defined?(Motion::Project::Config) raise "The sugarcube gem must be required within a RubyMotion project Rakefile." end require 'sugarcube' SugarCube.ios_only!('modal') Motion::Project::App.pre_setup do |app| SugarCube.add_app_files(app, 'sugarcube-modal') end