I am building an iOS app using the splendid RubyMotion framework and ProMotion gem stack. I want to have push notifications and hope to implement that via the ProMotion-push gem.
The Problem
When I use
gem 'ProMotion-push'
in my Gemfile, I get a
ProMotion-push (>= 0) ruby depends on ProMotion (~> 2.0.0)
error from Bundler. (I have had ProMotion 1.2.1 installed.)
I can install ProMotion 2.0.0.rc1, but there is no plain version 2.0.0 (i.e., without release candidate versioning). ProMotion-push will not install for me (I get the same error) if I have ProMotion 2.0.0.rc1 (or 2.0.0.rc4 ) installed. What to do? Thanks!
The Solution
Jamon's quick response below allowed me to access the ProMotion-push
vendored gem without the dependency error. A few details for anyone else following this solution:
(1) You change the dependency in the ProMotion-push.gemspec
file like so,
spec.add_dependency "ProMotion", "~> 2.0.0.rc4"
(2) Don't forget to add ProMotion 2.0.0.rc4 to your Gemfile as follows,
gem "ProMotion", "~> 2.0.0.rc4", git: 'https://github.com/clearsightstudio/ProMotion.git'
Thanks again, Jamon!