-
Notifications
You must be signed in to change notification settings - Fork 460
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
Can't start rails after upgrading rails 5.2.3 to 6.0 #617
Comments
not support rails 6 yet. see #559 |
@mkhairi , it says right here that there is support for < 6.1. #559 is specifically about supporting Rails 6 multi-db. This error happens when simply starting a vanilla Rails 6 app. |
owh, no public release yet for rails 6. need to install gem from github branch development. otherwise bundler will install older version. |
@mkhairi, that is true. But it feels like this should have been caught in a test in the master branch since this happens with a vanilla rails 6 app. The fact that @abigoroth found this problem means that he's using the master branch (or at least an unreleased branch based on it). The < 6.1 gemspec constrain in the master branch seems incorrect. Does anyone know where a potential test that should have caught this would be located? |
@ekampp seem like bundler install version 0.24.3 gemspec constraint on
The correct way to test with rails 6 at this moment is, install from github branch development
|
@mkhairi, I checked out the dev branch, and that solves this problem. However, the master branch does state that it supports Rails < 6.1, but in fact, it doesn't (see master branch gemspec). So that is perhaps something worth noting. |
Is there any idea of when there's going to be a new release (hopefully one that include support for rails 6) |
Any updates from Apartment team? :) |
Any update on a new release that supports Rails 6? |
I can confirm my app is working as expected with However, a new release that formally support rails 6 release would be very helpful. Thanks! |
|
We need complete rails 6 support. Thanks! |
A dev answered recently in #559. There seem to be more activity here, but you should probably follow this other issue. |
Steps to reproduce
rails app:update
bundle update
Expected behavior
Supposedly rails will start as usual.
Actual behavior
/Users/ahmadyakobbinabaidullah/.asdf/installs/ruby/2.5.1/lib/ruby/gems/2.5.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/stack.rb:37:in
build': undefined method
new' for "Apartment::Reloader":String (NoMethodError)Did you mean? next
System configuration
Database: (Tell us what database and its version you use.)
psql (PostgreSQL) 9.6.2
Apartment version:
apartment (0.24.3)
Apartment config (in
config/initializers/apartment.rb
or so):nothing yet.
use_schemas
: (true
orfalse
)nothing yet.
Rails (or ActiveRecord) version:
Rails 6.0.0
Ruby version:
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
The text was updated successfully, but these errors were encountered: