ruby: Can't use gem from git master
jrochkind opened this issue · 4 comments
jrochkind commented
I used to be able to use gem from git master, with gem 'kalibera', github: "softdevteam/libkalibera"
in my Gemfile. But currently, if I try:
[!] There was an error while loading `kalibera.gemspec`: String can't be coerced into Float. Bundler cannot continue.
# from /Users/jrochkind/.gem/ruby/2.6.6/bundler/gems/libkalibera-70c95d537f54/ruby/kalibera.gemspec:7
# -------------------------------------------
# spec.name = "kalibera"
> spec.version = metadata["metadata"]["version"] + ".1"
# spec.authors = ["Edd Barrett", "Carl Friedrich Bolz", "Chris Seaton"]
ruby 2.6.6p146, Bundler version 2.1.4, rubygems 3.0.3
ltratt commented
@chrisseaton Any ideas? I'm afraid I'm clueless about the Ruby aspects :/
chrisseaton commented
Yeah sorry PR attached fixes.
chrisseaton commented
@jrochkind can you report back if that works for you when you're ready?
jrochkind commented
yep, all good thanks @chrisseaton