5

Is anyone having trouble with the updated rubymotion with joybox? I just updated rubymotion this morning and my app broke immediately... Here is my error.

Inheriting from Motion::Project::Command' has been deprecated, inherit fromMotion::Command' instead.

Not sure if that is why it's breaking... But I need to figure this out. I've tried rolling back versions, and can't find a version that works. Any help would be most appreciated.

m. sherman
  • 165
  • 11
  • I'm having the same problem, installed Joybox this morning, ruined my RubyMotion install so bad I can't even reinstall. – gmoney Feb 13 '14 at 03:23

2 Answers2

3

I ended up removing the joybox gem, but then my RubyMotion was throwing crazy errors on rake.

I fixed it by removing ~/Library/RubyMotion/templates/joybox-*.rb.

Hope that helps. I don't think Joybox is stable with latest RM.

gmoney
  • 1,264
  • 1
  • 10
  • 12
  • 2
    It's actually symbolic links and not .rb files, in the template directory. Also need to remove the files in the command folder. ~/Library/RubyMotion/command – peter Feb 17 '14 at 05:25
  • FYI - it's ~/Library/RubyMotion/template/joybox-*.rb ;) Thanks nonetheless! – Dane Balia Apr 16 '14 at 18:41
-1

One solution is post here. Revert to RM 2.20 :

sudo motion update --cache-version=2.20

then in your Rakefile, replace :

$:.unshift("/Library/RubyMotion/lib")

by

$:.unshift("/Library/RubyMotion2.20/lib")

Finally, reinstall joybox gem :

sudo gem install joybox

And all should be ok.

Olivier
  • 921
  • 10
  • 19