Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 4.1 - Why Spring? [closed]

Now with Spring built-in with rails 4.1, I am curious about why the dev-team chose Spring over the others (Zeus and Spork).

Why did they choose Spring?

like image 572
karlingen Avatar asked Apr 14 '14 21:04

karlingen


People also ask

What does Spring do in Rails?

Spring is a Rails application preloader that speeds up development by keeping your application running in the background. This means you that don't need to restart a server when you make changes. In RubyMine, Spring can be used to run Rails generators, tests, and Rake tasks.

How do you stop springs in rails?

To stop spring you can use bin/spring stop . It should start automatically when you run rails commands.


1 Answers

If you read the README from the v0.9 tag of Spring it should answer your question: https://github.com/rails/spring/tree/v0.0.9

The highlights appear to be:

  • implemented in pure Ruby
  • makes use of Rails' built-in code reloader
  • totally automatic (boots up in the background the first time you run a command)
like image 176
pdobb Avatar answered Sep 30 '22 20:09

pdobb