Use Remarkable as gem from Github
i want to use Remarkable gem latest working version, because it has fixed some deprecated features compatibile with Rails 3.1. But when i use
gem "remarkable", :git => 'git://gith开发者_运维问答ub.com/remarkable/remarkable.git'
i get this error:
Could not find gem 'remarkable (>= 0) ruby' in git://github.com/remarkable/remarkable.git (at master).
Source does not contain any versions of 'remarkable (>= 0) ruby'
But dont why. Any hits how to solve this ?
Thanks
EDIT: fixed wrong addres in git address which was in my clippboard when i post this question.
SOLVED!
I created fork with gemspec file, which is necessary to fetch gem from git.
This is working git source
gem "remarkable", :git => 'git://github.com/radeno/remarkable.git'
gem "remarkable_activemodel", :git => 'git://github.com/radeno/remarkable.git'
gem "remarkable_activerecord", :git => 'git://github.com/radeno/remarkable.git'
or from this fork
https://github.com/foolabs/remarkable/
SOLUTION:
I created fork with gemspec file, which is necessary to fetch gem from git.
This is working git source
gem "remarkable", :git => 'git://github.com/radeno/remarkable.git'
gem "remarkable_activemodel", :git => 'git://github.com/radeno/remarkable.git'
gem "remarkable_activerecord", :git => 'git://github.com/radeno/remarkable.git'
Use either of these:
gem "remarkable", :git => "git://github.com/radeno/remarkable.git"
gem "remarkable", :git => "https://github.com/radeno/remarkable.git"
You used a colon instead of a slash.
Edit:
Could you try and add a specific version?
gem "remarkable", "2.3.1", :git => "git://github.com/remarkable/remarkable.git"
精彩评论