Upgraded RubyMotion, bubble wrap won't compile :(

89 views
Skip to first unread message

Anand Sankaran

unread,
May 10, 2013, 5:25:31 AM5/10/13
to bubbl...@googlegroups.com
I am stuck.  I upgraded RubyMotion to 2.0 and I can't compile.  Any way to downgrade RubyMotion?

BubbleWrap 1.2.0 requires at least rubymotion 1.24
/Users/anand/.rvm/gems/ruby-2.0.0-p0/gems/bubble-wrap-1.2.0/lib/bubble-wrap/loader.rb:8:in `<top (required)>'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/gems/bubble-wrap-1.2.0/lib/bubble-wrap/core.rb:1:in `<top (required)>'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/gems/formotion-1.3/lib/formotion.rb:2:in `<top (required)>'
/Users/anand/projects/ios/Rakefile:5:in `<top (required)>'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `<main>'
(See full trace by running task with --trace)
require 'lib/motion/project' is deprecated, please require 'lib/motion/project/template/ios' instead
rake aborted!
BubbleWrap 1.2.0 requires at least rubymotion 1.24
/Users/anand/.rvm/gems/ruby-2.0.0-p0/gems/bubble-wrap-1.2.0/lib/bubble-wrap/loader.rb:8:in `<top (required)>'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/gems/bubble-wrap-1.2.0/lib/bubble-wrap/core.rb:1:in `<top (required)>'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/gems/formotion-1.3/lib/formotion.rb:2:in `<top (required)>'
/Users/anand/projects/ios/Rakefile:5:in `<top (required)>'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
/Users/anand/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `<main>'
(See full trace by running task with --trace)

Dan Brooking

unread,
May 10, 2013, 7:28:23 AM5/10/13
to bubbl...@googlegroups.com
Hey.. yeah I encountered the same problem.  This was posted on the Rubymotion group:

Lots of folks opened issues this morning on the BW rep, so I thought I could give a better tl;dr here.
  • BubbleWrap 1.3.0 will support OS X & iOS seamlessly. Wrappers which are currently iOS-only, such as `camera`, `media`, and `location` will not be compiled with OS X apps; however, if you have a good idea for how to use these features on OS X, we'd love to see a pull request :)
  • BubbleWrap 1.3.0 is not finalized or released; since updating BW for RM 2.0 was sort of a clandestine thing, I've elected to open a pull-request with all the necessary changes and would love your feedback, if you're into it (it's mostly BW internal plumbing changes): https://github.com/rubymotion/BubbleWrap/pull/233
  • Until BW 1.3.0 is official released, use BubbleWrap version `1.3.0.osx` with RubyMotion 2.0, which is based on that pull-request.
  • I apologize for the naming confusion; today's RM update wasn't originally "2.0", so it made more sense to label it "osx" at the time (since that was the big distinguishing feature).
  • BW 1.3.0 will be released soon, probably over the weekend, and there will be many GIFs to celebrate
Thanks!


I changed my Gemfile to use version 1.3.0.osx and it fixed the problem.

Dan




--
You received this message because you are subscribed to the Google Groups "BubbleWrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bubblewrap+...@googlegroups.com.
To post to this group, send email to bubbl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bubblewrap/37f956d6-46fc-4688-ade1-d7d188d10d9e%40googlegroups.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Anand Kumar Sankaran

unread,
May 10, 2013, 7:30:55 AM5/10/13
to bubbl...@googlegroups.com
Dan

Thanks for the help.  I couldn't compile BW 1.1.5 or BW 1.2.0 with RM 2.0, so I had to upgrade to 1.3.0, "osx" to even get it compiled.  And yes, that fixed it for me.
You received this message because you are subscribed to a topic in the Google Groups "BubbleWrap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bubblewrap/ddEHfWg-7UQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to bubblewrap+...@googlegroups.com.

To post to this group, send email to bubbl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages