select2-foundation icon indicating copy to clipboard operation
select2-foundation copied to clipboard

Gem does not exist in RubyGems

Open Yanchek99 opened this issue 8 years ago • 6 comments

source 'https://rubygems.org'

gem 'select2-rails'
gem 'select2-foundation'

Running bundle install yields the following error

Could not find gem 'select2-foundation' in any of the gem sources listed in your Gemfile.

Yanchek99 avatar Apr 22 '17 23:04 Yanchek99

@Yanchek99 I have not published this gem on RubyGems so you can specify the gem location with the git option

source 'https://rubygems.org

gem 'select2-rails'
gem 'select2-foundation', :git => 'https://github.com/zflat/select2-foundation'

zflat avatar Apr 27 '17 02:04 zflat

Would be great if a gem release could be made :)

pmackay avatar Feb 21 '18 13:02 pmackay

@pmackay Released it now: https://rubygems.org/gems/select2-foundation

zflat avatar Mar 06 '18 10:03 zflat

Much obliged @zflat :-)

pmackay avatar Mar 06 '18 13:03 pmackay

@zflat slight problem here. If I try to use the gem, I'm stuck because I'm using foundation-rails 6.4, but this gem has s.add_dependency "foundation-rails", "~> 5". That suggests it wont go up to 6. Is Foundation 6 not supported? I'm not really sure what ~> 5 means because I thought the ~> was for allowing different minor/patch versions under a major version.

pmackay avatar Mar 06 '18 13:03 pmackay

@pmackay sorry about that. Should be fixed in b4ef957ffba00f514f44fcb78b01a194215ad173

zflat avatar Mar 07 '18 03:03 zflat