Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Rails 6 #654

Closed
cristianrosu opened this issue Jul 3, 2020 · 1 comment
Closed

Doesn't work with Rails 6 #654

cristianrosu opened this issue Jul 3, 2020 · 1 comment

Comments

@cristianrosu
Copy link

cristianrosu commented Jul 3, 2020

Steps to reproduce

  1. Add gem 'apartment', '~> 2.2' to Gemfile
  2. run bundle install

Expected behaviour

Gem install should be successful

Actual behaviour

Throws this error

Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    apartment (~> 2.2) was resolved to 2.2.1, which depends on
      activerecord (< 6.0, >= 3.1.2)

    rails (~> 6.0, >= 6.0.3.2) was resolved to 6.0.3.2, which depends on
      activerecord (= 6.0.3.2)

System configuration

  • Database: (Tell us what database and its version you use.)
    Postgres 10

  • Apartment version:
    2.2.1

  • Apartment config (in config/initializers/apartment.rb or so):

    • use_schemas: (true or false)
  • Rails (or ActiveRecord) version:

  • Ruby version:
    2.7.1

@cristianrosu cristianrosu changed the title Support for Rails 6 Doesn't work with Rails 6 Jul 3, 2020
@cristianrosu
Copy link
Author

Never mind, works when installing it from development. I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant