rails: All `rails` commands hang on edge Rails

Steps to reproduce

  • rails new rails6.1 --database postgresql
  • Update gemfile to use edge
  • rails app:update
  • accept all changes
  • hangs on rails active_storage:update

Also hangs on rails server, with no log output, stops here:

=> Booting Puma
=> Rails 6.1.0.alpha application starting in development
=> Run `bin/rails server --help` for more startup options

Expected behavior

Rails commands should run

Actual behavior

They hang

System configuration

Rails version: 6.1.0.alpha

Ruby version: 2.6.0,2.6.5

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (17 by maintainers)

Most upvoted comments

I’ll try to look more into it, if I can reproduce it consistently I’ll provide a repo.

If this binstub is generated by rails I could submit a PR adding a check for bin in your PATH or any other proposed solution. I think having bin in one’s PATH isn’t that rare so a fair warning couldn’t hurt I guess.