Joshua Muheim
Joshua Muheim

Reputation: 13195

Spring: does "rails server" not start spring?

I'm just wondering: doesn't rails server start spring? It seems, that only rake or rails console starts spring. Is this normal behaviour, or do I have something misconfigured?

Upvotes: 6

Views: 3040

Answers (1)

gavin1986
gavin1986

Reputation: 318

I just confused too. Then I find this.

here explained when spring will start

rails console, rails generate, rails runner

These execute the rails command you already know and love. If you run a different sub command (e.g. rails server) then spring will automatically pass it through to the underlying rails executable (without the speed-up).

Upvotes: 4

Related Questions