1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

springの使い方

Posted at

基本的に、binファイルにspringを読みこむようなコードが記述されているので、binディレクトリから実行します。

  • bin/rails : rails s / rails c / rails g などのコマンドが速くなる。

  • bin/rake : rake系のコマンドが速くなる。

  • bundle exec bin/rspec : rspecが速くなる。(prereload以外に時間がかかっているのでそこまで速くなったと感じない)

  • bundle exec guard : guard specでも速くなる。

  • spring status : springサーバーの状態を確認

  • spring stop : springサーバーを停止(これでバグが消える場合がある)

※ bundle exec付けなくても良いケースはあるかもしれない。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?