mwlang / gentelella-rails

Injects the gentelella theme and javascript files into Rails assets pipeline
MIT License
155 stars 50 forks source link

rails 6 + (including 6.0.3 and 6.1.1) having issue with switchery-rails ( railties < 6.0, >= 3.2) #21

Open venkatnr opened 3 years ago

venkatnr commented 3 years ago

When am trying to upgrade rails 5.2.4.4 to 6.0.3 am having issue with gentelella-rails dependent gem (switchery-rails).

Bundler could not find compatible versions for gem "railties": In Gemfile: rails (~> 6.0.3) was resolved to 6.0.3, which depends on railties (= 6.0.3)

**gentelella-rails was resolved to 0.1.11, which depends on
  switchery-rails was resolved to 0.8.1, which depends on
    railties (~> 4)**

when i comment gentelella-rails from Gemfile, am able to upgrade rails 6.0.3. but with switchery-rails am not able to upgrade.

Problem is the dependent gem switchery-rails can only support till 5.2.4.4 rails version, then how there people using gentelella-rails in to Rails 6.

Can anybody help to fix this issue.

SupriyaMedankar commented 2 years ago

Any updates on this issue? I am facing same dependency issue while upgrading to rails 6.0.0

 gentelella-rails was resolved to 0.1.11, which depends on
      switchery-rails was resolved to 0.8.1.1, which depends on
        railties (>= 3.2, < 6.0)
sampatbadhe commented 2 years ago

This issue is fixed in switchery-rails gem in version 0.8.2.0