Created
March 27, 2013 05:51
-
-
Save DougPuchalski/5252002 to your computer and use it in GitHub Desktop.
lock-o-motion failure on parslet
This file contains hidden or 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
source 'https://rubygems.org' | |
gem 'colorize' | |
# RubyMotion unaware gems | |
group :lotion do | |
gem 'parslet' | |
end |
This file contains hidden or 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
$ rake --trace | |
** Invoke default (first_time) | |
** Invoke simulator (first_time) | |
** Invoke build:simulator (first_time) | |
** Execute build:simulator | |
rake aborted! | |
stack level too deep | |
/Users/doug/.rbenv/versions/1.9.2-p320/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:170 | |
Tasks: TOP => default => simulator => build:simulator |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
ROOT = File.expand_path('..', __FILE__) | |
$:.unshift("/Library/RubyMotion/lib") | |
require 'motion/project' | |
require 'rubygems' | |
require 'bundler' | |
Bundler.require | |
Motion::Project::App.setup do |app| | |
# Use `rake config' to see complete project settings. | |
app.name = 'parslet_test' | |
end | |
begin | |
$: << File.join(ROOT, 'vendor/lock-o-motion/lib') | |
require 'lock-o-motion' | |
$: << File.join(ROOT, 'vendor/MocRuby/lib') | |
require 'moc_ruby' | |
Lotion.setup | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment