Help us understand the problem. What is going on with this article?

[memo] Spring install

More than 1 year has passed since last update.

Spring install

group :development, :test do
  gem 'spring'
  gem 'spring-watcher-listen', '~> 2.0.0'
  gem 'spring-commands-rspec'
$ bundle install
$ bundle exec spring binstub --all
* bin/rake: spring inserted
* bin/rails: spring inserted

bin/rake bin/rails が更新され、新たにbin/springが作成される。



$ bundle exec spring status
Spring is not running.

rails consoleを起動させるとSpringが自動的に起動する。

$ rails c
Running via Spring preloader in process 6833
Loading development environment (Rails 5.1.5)
[1] pry(main)>


$ bundle exec spring status
Spring is running:

次回以降のrails consoleの起動が早くなる。
railsの他、rake rspecも同様に高速化される。


古くはPS2やWii等の家庭用ゲーム機を中心にゲーム開発に携わり、その後、ソーシャル黎明期である2010年頃からRuby on Railsを用いてゲーム開発を続けています。株式会社ツクース代表取締役/エンジニア
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away