这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

uninitialized constant ProMotion::IAP (NameError) #7

@joerichsen

Description

@joerichsen

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 :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions