遵循这些简单的步骤:
gem unpack spree_easy_contact -v 1.0.2 --target vendor/gems
Unpacked gem: '../vendor/gems/spree_easy_contact-1.0.2'
然后在我的 Gemfile 中添加这一行:
gem "spree_easy_contact", :path => "vendor/gems/spree_easy_contact-1.0.2"
但是当我运行时它失败了bundle install
。
Could not find gem 'spree_easy_contact (>= 0, runtime)' in source at vendor/gems/spree_easy_contact-1.0.2.
Source does not contain any versions of 'spree_easy_contact (>= 0, runtime)'
我相信这是因为 gem 中没有 gemspec 文件。有没有办法为它建造一个?
有人知道解决这个问题的方法吗?