Skip to content

Ruby 3.0 breaks web-console #173

Closed
Closed
@perryventas

Description

@perryventas

Using the activerecord-session_store gem on a Rails 6.1 application with latest Ruby 3.0 seems to break the web-console on development environment and instead renders the public/500.html error page.

How to reproduce:

  1. Create a fresh Rails 6.1 application with Ruby 3.0, start webserver and make sure web-console works (e.g. triggering a 404 by entering an unknown URL)

Screenshot 2021-03-07 at 16 28 48

2. Add the `activerecord-session_store` to your Gemfile, run bundle install, restart the rails server and try again to trigger a 404, which will result in displaying the default public/500.html error page:

Screenshot 2021-03-07 at 16 38 43

The console does not show anything suspicious:

Started GET "/asdf" for 127.0.0.1 at 2021-03-07 16:38:37 +0100
   (3.4ms)  SELECT sqlite_version(*)

ActionController::RoutingError (No route matches [GET] "/asdf"):

Downgrading the Ruby version to 2.7.2 fixes the issue.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions