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

uninitialized constant BubbleWrap::Constants (NameError) #472

Open
ChampTradesman opened this issue Sep 2, 2015 · 2 comments
Open

uninitialized constant BubbleWrap::Constants (NameError) #472

ChampTradesman opened this issue Sep 2, 2015 · 2 comments

Comments

@ChampTradesman
Copy link

Hello,

I have inherited some rubymotion code and have been running into the above error when the app launches. I've looked through the previous issues here, but couldn't find a solution. If you could provide any insight that would be great! here are the details of my environment. Thanks!

'''
Environment

Bundler   1.10.6
Rubygems  2.4.8
Ruby      2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
Git       2.3.2 (Apple Git-55)
rubygems-bundler (1.4.4)

Gemfile

source 'https://rubygems.org'
gem 'rake'
gem 'ruby_motion_query', github: 'infinitered/rmq'
gem 'cdq'
# gem 'motion-cocoapods'
gem 'bubble-wrap', :git => 'https://github.com/rubymotion/BubbleWrap.git'
# gem 'motion-form'
gem 'afmotion'
gem 'motion-i18n'
gem 'i18n_tools', require: 'i18n_tools/tasks'
# gem 'simple_si'
gem 'motion-blitz', '1.0.3', path: 'vendor/gems/motion-blitz'
gem 'motion-testflight'
gem 'ib'
# gem 'map-kit-wrapper'
# gem 'motion-persistable'
# gem 'motion-xray'

Gemfile.lock

GIT
  remote: git://github.com/infinitered/rmq.git
  revision: 6523252947c24e41b761cc3c757bb82e03f4959d
  specs:
    ruby_motion_query (1.6.1)

GIT
  remote: https://github.com/rubymotion/BubbleWrap.git
  revision: d307fd70aa722317957f9e818840e6ec20907ba3
  specs:
    bubble-wrap (1.9.2)

PATH
  remote: vendor/gems/motion-blitz
  specs:
    motion-blitz (1.0.3)

GEM
  remote: https://rubygems.org/
  specs:
    activesupport (4.2.4)
      i18n (~> 0.7)
      json (~> 1.7, >= 1.7.7)
      minitest (~> 5.1)
      thread_safe (~> 0.3, >= 0.3.4)
      tzinfo (~> 1.1)
    afmotion (2.5)
      motion-cocoapods (>= 1.4.1)
      motion-require (>= 0.1)
    builder (3.2.2)
    cdq (1.0.8)
      motion-yaml (= 1.4)
      ruby-xcdm (>= 0.0.9)
    claide (0.9.1)
    cocoapods (0.38.2)
      activesupport (>= 3.2.15)
      claide (~> 0.9.1)
      cocoapods-core (= 0.38.2)
      cocoapods-downloader (~> 0.9.1)
      cocoapods-plugins (~> 0.4.2)
      cocoapods-stats (~> 0.5.3)
      cocoapods-trunk (~> 0.6.1)
      cocoapods-try (~> 0.4.5)
      colored (~> 1.2)
      escape (~> 0.0.4)
      molinillo (~> 0.3.1)
      nap (~> 0.8)
      xcodeproj (~> 0.26.3)
    cocoapods-core (0.38.2)
      activesupport (>= 3.2.15)
      fuzzy_match (~> 2.0.4)
      nap (~> 0.8.0)
    cocoapods-downloader (0.9.3)
    cocoapods-plugins (0.4.2)
      nap
    cocoapods-stats (0.5.3)
      nap (~> 0.8)
    cocoapods-trunk (0.6.4)
      nap (>= 0.8, < 2.0)
      netrc (= 0.7.8)
    cocoapods-try (0.4.5)
    colored (1.2)
    deep_merge (1.0.1)
    escape (0.0.4)
    fuzzy_match (2.0.4)
    i18n (0.7.0)
    i18n_tools (0.1.6)
      deep_merge
      ya2yaml
    ib (0.8.0)
      thor (~> 0.15.4)
      tilt (~> 1.4.1)
      xcodeproj (~> 0.17)
    json (1.8.3)
    minitest (5.8.0)
    molinillo (0.3.1)
    motion-cocoapods (1.7.4)
      cocoapods (>= 0.34)
    motion-i18n (0.0.2)
      i18n
      motion-require
    motion-require (0.2.0)
    motion-testflight (1.5.2)
    motion-yaml (1.4)
    nap (0.8.0)
    netrc (0.7.8)
    plist (3.1.0)
    rake (10.4.2)
    ruby-xcdm (0.0.9)
      activesupport (~> 4.1)
      builder (~> 3.2)
      plist (~> 3.1)
    thor (0.15.4)
    thread_safe (0.3.5)
    tilt (1.4.1)
    tzinfo (1.2.2)
      thread_safe (~> 0.1)
    xcodeproj (0.26.3)
      activesupport (>= 3)
      claide (~> 0.9.1)
      colored (~> 1.2)
    ya2yaml (0.31)

PLATFORMS
  ruby

DEPENDENCIES
  afmotion
  bubble-wrap!
  cdq
  i18n_tools
  ib
  motion-blitz (= 1.0.3)!
  motion-i18n
  motion-testflight
  rake
  ruby_motion_query!

BUNDLED WITH
   1.10.6

My rakefile has this in:

require 'bundler'
Bundler.require
require 'bubble-wrap/core'
@markrickert
Copy link
Collaborator

Sorry for my late reply, I've been offline for a week. Lots of times a rake clean:all && bundle update will fix this. You can also try this gem for an easier time doing this - https://github.com/IconoclastLabs/newclear

@alexander-ziegler
Copy link

Just adding a +1 for the issue above, @markrickert The steps suggested were followed and the error persists.

Here it is below:

2015-09-09 16:44:14.880 app_name[74887:672081] uninitialized constant BubbleWrap::Constants (NameError)
2015-09-09 16:44:14.893 app_name[74887:672081] *** Terminating app due to uncaught exception 'NameError', reason: 'uninitialized constant BubbleWrap::Constants (NameError)
'
*** First throw call stack:
(
    0   CoreFoundation                      0x00000001059e69b5 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x00000001015addeb objc_exception_throw + 48
    2   app_name                              0x000000010093494f _ZL10__vm_raisev + 399
    3   app_name                              0x0000000100934a7d rb_vm_raise + 205
    4   app_name                              0x0000000100831959 rb_exc_raise + 9
    5   app_name                              0x000000010082bc04 rb_name_error + 228
    6   app_name                              0x00000001008e3ab9 rb_mod_const_missing + 121
    7   app_name                              0x0000000100906209 rb_vm_dispatch + 7401
    8   app_name                              0x00000001008e49cd rb_const_get_0 + 1165
    9   app_name                              0x00000001001972de vm_get_const + 302
    10  app_name                              0x00000001001acb2a rb_scope2 + 298
    11  app_name                              0x00000001001ac9a3 rb_scope1 + 131
    12  app_name                              0x00000001001b5d07 MREP_AE89F55DD3CF4F6086F1C23A63D47CDA + 4695
    13  app_name                              0x000000010019f22a RubyMotionInit + 202
    14  app_name                              0x000000010019ff75 main + 85
    15  libdyld.dylib                       0x000000010754a92d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NameError


Using Bubble-Wrap Gem v1.9.2

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

3 participants