I'm having trouble setting up a gem in my rails app. I'm doing the following:
gem 'country_select', :git => 'git://github.com/rails/country_select.git'
Trying to make use of the gem found here:
https://github.com/rails/country_select
I get the following error:
Could not find gem 'country_select (>= 0, runtime)' in git://github.com/rails/country_select.git (at master).
Source does not contain any versions of 'country_select (>= 0, runtime)'
I just forked and gemified this plugin, if it is of any use to you.
# Gemfile
gem "country-select"
It's not installing as a gem because it's not a gem, it's a plugin.
Below are the install direction for Rails
Rails3
rails plugin install https://github.com/rails/country_select.git
Rails2
ruby script/plugin install https://github.com/rails/country_select.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With