Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joybox causing errors with latest RubyMotion #69

Open
gpurkins opened this issue Feb 13, 2014 · 5 comments
Open

Joybox causing errors with latest RubyMotion #69

gpurkins opened this issue Feb 13, 2014 · 5 comments

Comments

@gpurkins
Copy link

I installed Joybox to do the default tutorial, and I started getting errors on rake.

Removing Joybox with the recommended method left my RubyMotion install giving these errors:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- /Users/george/Library/RubyMotion/command/joybox_generate_command.rb (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /Library/RubyMotion/lib/motion/project/command.rb:82:in `block in <top (required)>'
    from /Library/RubyMotion/lib/motion/project/command.rb:82:in `each'
    from /Library/RubyMotion/lib/motion/project/command.rb:82:in `<top (required)>'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /Library/RubyMotion/lib/motion/command.rb:156:in `<top (required)>'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /Library/RubyMotion/lib/motion/../../bin/motion:12:in `<main>'

This error persists through reinstall. What the heck is Joybox doing?

@gpurkins
Copy link
Author

Fixed it by going to ~/Library/RubyMotion/templates and removing joybox-*.rb.

Looks like RM got upset by having those there. Gem uninstaller should remove that stuff!

Phew!

@Dx
Copy link

Dx commented Feb 17, 2014

Remove them also from ~/Library/RubyMotion/command

:)

@n-studio
Copy link

n-studio commented Mar 5, 2014

Fixed with RubyMotion 2.23!

@kakubei
Copy link

kakubei commented Jun 10, 2014

This is really, really bad. What a bad setup. And the gem uninstaller of course did not do it's job. This just bit me. Glad I found this entry.

@rebelwarrior
Copy link

bit me too.
Though I only needed to remove the files in ~/Library/RubyMotion/command to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants