Rubymotion rake fails with Stack Level Too Deep

20 views
Skip to first unread message

Anand Sankaran

unread,
May 8, 2013, 8:19:26 AM5/8/13
to bubbl...@googlegroups.com

With bubble-wrap (1.2.0 or the latest version, not sure about the version), this is what happens when I do "rake".

This is the config.rb file in Motion.  When I printed the file in dependencies, it points to two bubble-wrap files.  Once I downgraded to bubble-wrap 1.1.5, everything is ok.

/Users/yanor/.rvm/gems/ruby-2.0.0-p0/gems/bubble-wrap-1.2.0/motion/shortcut.rb

stack level too deep

/Users/yanor/.rvm/gems/ruby-2.0.0-p0/gems/bubble-wrap-1.2.0/motion/ui/ui_bar_button_item.rb

Anyone else seen this?

 def file_dependencies(file)

      deps = @dependencies[file]

      if deps

        deps = deps.map { |x| file_dependencies(x) }

      else

        deps = []

      end

      deps << file

      deps

    end




Yan-Ors-MacBook-Air-4:ios yanor$ rake --trace

** Invoke default (first_time)

** Invoke simulator (first_time)

** Invoke build:simulator (first_time)

** Execute build:simulator

/Applications/Xcode.app/Contents/Developer/usr/bin/ar -rcs libWCAlertView.a WCAlertView.m.o

/Library/RubyMotion/lib/motion/project/config.rb:305

/Users/yanor/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:189

/Users/yanor/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:189

rake aborted!

stack level too deep

/Users/yanor/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:189

Tasks: TOP => default => simulator => build:simulator


Let's have a call today and sort this out.

Reply all
Reply to author
Forward
0 new messages