Giter VIP home page Giter VIP logo

Comments (13)

jimsynz avatar jimsynz commented on June 10, 2024

Take a look at https://github.com/axeio/Settings.app for how it's done (although it doesn't do much yet).

James Harton
sociable.co.nz
@jamesotron
+64226803869

On Saturday, 9 June 2012 at 7:51 AM, Marin Usalj wrote:

It would be awesome if we could add a sample app that just uses Bubblewrap,
with some other gems / resources, etc.

Maybe we could also write an automated test for that.
It should launch the app, and check the status code (if it broke, it shouldn't be zero).


Reply to this email directly or view it on GitHub:
https://github.com/mattetti/BubbleWrap/issues/58

from bubblewrap.

supermarin avatar supermarin commented on June 10, 2024

The settings.app doesn't run on my side :D
Posting the trace below..
Btw - Are you willing to do a test one? ( I guess you know the best about the dependencies ).

trace:

rake --trace                                                                                                                                                                                                                    Downloads/axeio-Settings.app-15d1dec
rake aborted!
uninitialized constant Bundler
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/ext/module.rb:36:in `const_missing'
/Users/mneorr/Downloads/axeio-Settings.app-15d1dec/Rakefile:3:in `<top (required)>'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/rake_module.rb:25:in `load'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/rake_module.rb:25:in `load_rakefile'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:501:in `raw_load_rakefile'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:82:in `block in load_rakefile'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:81:in `load_rakefile'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:65:in `block in run'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
/Users/mneorr/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:63:in `run'
/Users/mneorr/.rbenv/versions/1.9.3-p0/bin/rake:32:in `<main>'

from bubblewrap.

jimsynz avatar jimsynz commented on June 10, 2024

Do you have bundler installed and did you run bundle?

from bubblewrap.

supermarin avatar supermarin commented on June 10, 2024

yes and yes :)
Just updated the Bundler to 1.1.4, so outdated Bundler isn't an issue.

from bubblewrap.

jimsynz avatar jimsynz commented on June 10, 2024

Okay, that's weird, because I just started fresh with an empty gemset and ran:

$ gem install bundler
$ bundle
$ rake

it it went flawlessly. This confuses me greatly.

from bubblewrap.

supermarin avatar supermarin commented on June 10, 2024

hm, weird,.

If you don't figure it out until tomorrow, I'll install the RM on my backup machine and try to run it over there.

from bubblewrap.

jimsynz avatar jimsynz commented on June 10, 2024

Take a look at http://bubblewrap.io/getting_started.html

from bubblewrap.

AaronH avatar AaronH commented on June 10, 2024

I'm having this exact same Bundler issue on 2 different machines with Ruby Motion 1.9 and 1.10. (OSX Lion, Ruby 1.9.3)

from bubblewrap.

AaronH avatar AaronH commented on June 10, 2024

Just to update, I was able to resolve the problem by adding require 'bundler' before the call to Bundler.

$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require 'bundler'
Bundler.require
# ...

I'm guessing that something in your ruby setup is automatically loading bundler first (RVM?). For my relatively stock ruby setup (v 1.9.3p0 and rbenv), I had to require first and then use Bundle.require.

from bubblewrap.

supermarin avatar supermarin commented on June 10, 2024

1.9.3 and rbenv here as well

from bubblewrap.

jimsynz avatar jimsynz commented on June 10, 2024

Ahh. That makes sense. I'll update the documentation this morning.

James Harton
sociable.co.nz
@jamesotron
+64226803869

On Tuesday, 12 June 2012 at 4:34 AM, Marin Usalj wrote:

1.9.3 and rbenv here as well


Reply to this email directly or view it on GitHub:
https://github.com/mattetti/BubbleWrap/issues/58#issuecomment-6249271

from bubblewrap.

jimsynz avatar jimsynz commented on June 10, 2024

Actually, the documentation includes that.

https://github.com/mattetti/BubbleWrap/blob/master/GETTING_STARTED.md#adding-bubblewrap

from bubblewrap.

jimsynz avatar jimsynz commented on June 10, 2024

Closing.

from bubblewrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.