arvindvyas / Country-State-Select

It will fetch the countries and according to that fetch the state of that countries, currently it is for countries listing
MIT License
69 stars 78 forks source link

Doesn't work with rails 4.2.6 #40

Closed ramyala closed 5 years ago

ramyala commented 8 years ago

Added to Gemfile: gem 'country_state_select', '>= 3.0.2'

bundle install throws an error due to dependency issues on older version of compass-rails. Is there any reason for sticking to 2.0.4?

Fetching gem metadata from https://rubygems.org/ Fetching version metadata from https://rubygems.org/ Fetching dependency metadata from https://rubygems.org/ Resolving dependencies.... Bundler could not find compatible versions for gem "sprockets": In snapshot (Gemfile.lock): sprockets (= 3.6.0)

In Gemfile: country_state_select (>= 3.0.2) was resolved to 3.0.2, which depends on compass-rails (~> 2.0.4) was resolved to 2.0.4, which depends on sprockets (< 2.13)

haml_coffee_assets was resolved to 1.17.0, which depends on
  sprockets (>= 2.0)

sass-rails (~> 5.0) was resolved to 5.0.4, which depends on
  sprockets (< 4.0, >= 2.8)

sprockets-es6 was resolved to 0.9.0, which depends on
  sprockets (>= 3.0.0)

sprockets-es6 was resolved to 0.9.0, which depends on
  sprockets (>= 3.0.0)

sprockets-es6 was resolved to 0.9.0, which depends on
  sprockets (>= 3.0.0)

Running bundle update will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.

ramyala commented 8 years ago

Uploaded a fix at #41

arvindvyas commented 8 years ago

@ramyala can you check why build is failing