-
Notifications
You must be signed in to change notification settings - Fork 341
Open
Description
Possibly related to #544.
The rake command is leveraging spring, but the rails command does not.
2.5.0:rails-5.2 % spring stop
Spring stopped.
2.5.0:rails-5.2 % ./bin/rails routes
Prefix Verb URI Pattern Controller#Action
root GET / pages#root
2.5.0:rails-5.2 % ./bin/rake routes
Running via Spring preloader in process 42529
Prefix Verb URI Pattern Controller#Action
root GET / pages#root
2.5.0:rails-5.2 % ./bin/rails routes
Prefix Verb URI Pattern Controller#Action
root GET / pages#root
Checking out bin/rails shows that it's instrumented for spring...
#!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'
But for some reason, spring isn't triggered.
skull-squadron, cyrilchampier, ecbrodie, artemave and djsmentya
Metadata
Metadata
Assignees
Labels
No labels