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?
            Asked
            
        
        
            Active
            
        
            Viewed 2,924 times
        
    6
            
            
         
    
    
        Baldrick
        
- 23,882
- 6
- 74
- 79
 
    
    
        Joshua Muheim
        
- 12,617
- 9
- 76
- 152
1 Answers
4
            
            
        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).
 
    
    
        gavin1986
        
- 318
- 2
- 7
- 
                    6Thank you. Would be interesting though why `rails server` doesn't fire up spring? I usually start my server first, then some time later I need the console or generate a scaffold or something. – Joshua Muheim Aug 14 '14 at 09:15