-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BubbleWrap has changed how they require files and broke older gem settings.
- Loading branch information
1 parent
1a7aacb
commit d0c4a9e
Showing
4 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,6 @@ | |||
source "http://rubygems.org" | source "http://rubygems.org" | ||
|
|
||
gem 'bubble-wrap' | |||
|
|||
# Specify your gem's dependencies in remote_model.gemspec | # Specify your gem's dependencies in remote_model.gemspec | ||
gemspec | gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,14 @@ | |||
require "bundler/gem_tasks" | #!/usr/bin/env rake | ||
$:.unshift("/Library/RubyMotion/lib") | |||
require 'motion/project' | |||
require "bundler/gem_tasks" | |||
Bundler.setup | |||
Bundler.require | |||
|
|||
$:.unshift("./lib/") | |||
require './lib/remote_model' | |||
|
|||
Motion::Project::App.setup do |app| | |||
# Use `rake config' to see complete project settings. | |||
app.name = 'RemoteModel' | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,5 @@ | |||
require "remote_model/version" | require "remote_model/version" | ||
require "bubble-wrap" | require 'bubble-wrap' | ||
|
Dir.glob(File.join(File.dirname(__FILE__), 'remote_model/*.rb')).each do |file| | ||
unless defined?(Motion::Project::Config) | BW.require file | ||
raise "This file must be required within a RubyMotion project Rakefile." | end | ||
end | |||
|
|||
Motion::Project::App.setup do |app| | |||
Dir.glob(File.join(File.dirname(__FILE__), 'remote_model/*.rb')).each do |file| | |||
app.files.unshift(file) | |||
end | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters