ProMotion-iap
ProMotion-iap copied to clipboard
uninitialized constant ProMotion::IAP (NameError)
This looks like a very useful gem :-)
I just added this gem to my project and when I run
bundle exec rake clean && bundle exec rake
the simulator starts and exits with the following error message:
uninitialized constant ProMotion::IAP (NameError)
This is the git diff in my project. I basically just added the gem and ran bundle install.
diff --git a/Gemfile b/Gemfile
index 3d13d05..3c9792e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -8,3 +8,5 @@ gem "bubble-wrap", "~> 1.7.1", require: ['bubble-wrap/core']
gem 'dotenv', '~> 0.9.0'
gem 'sugarcube', require: [ 'sugarcube-localized' ]
+
+gem 'ProMotion-iap', github: 'clearsightstudio/ProMotion-iap'
\ No newline at end of file
diff --git a/Gemfile.lock b/Gemfile.lock
index 7f15582..ed63432 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,4 +1,10 @@
GIT
+ remote: git://github.com/clearsightstudio/ProMotion-iap.git
+ revision: fe579ab697f139676b709185471096378b317a11
+ specs:
+ ProMotion-iap (0.2.0)
+
+GIT
remote: git://github.com/clearsightstudio/ProMotion.git
revision: 77b86eaf33295a86adfdfa040e20f9737ce16844
specs:
@@ -22,6 +28,7 @@ PLATFORMS
DEPENDENCIES
ProMotion!
+ ProMotion-iap!
bubble-wrap (~> 1.7.1)
dotenv (~> 0.9.0)
rake
Am I missing a step in the installation? Any pointers on how to debug this problem would be greatly appreciated :-)
Adding
app.detect_dependencies = false
to my Rakefile seems to solve the problem.
@joerichsen , you shouldn't have to (and shouldn't) turn off detect_dependencies. This is definitely a bug. Will look into it as soon as I can.
Just ran into this myself!