Skip to content

Commit

Permalink
開発環境も含めて、spring をオフにした
Browse files Browse the repository at this point in the history
  • Loading branch information
muziyoshiz committed Oct 16, 2016
1 parent bfb3596 commit 834f6f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
7 changes: 5 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'web-console'
gem 'listen', '~> 3.0.5'

# Spring が原因でクラスのロードや、環境変数のロードに失敗することがあったため、オフにした
# クラスが増えて、開発に支障が出るくらいロード時間が長くなったら元に戻す
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
# gem 'spring'
# gem 'spring-watcher-listen', '~> 2.0.0'
end

# Group for deployment server in production environment
Expand Down
6 changes: 0 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,6 @@ GEM
tilt (>= 1.1, < 3)
sitemap_generator (5.1.0)
builder
spring (1.7.2)
spring-watcher-listen (2.0.0)
listen (>= 2.7, < 4.0)
spring (~> 1.2)
sprockets (3.7.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
Expand Down Expand Up @@ -232,8 +228,6 @@ DEPENDENCIES
rails (~> 5.0.0, >= 5.0.0.1)
sass-rails (~> 5.0)
sitemap_generator
spring
spring-watcher-listen (~> 2.0.0)
therubyracer
tzinfo-data
uglifier (>= 1.3.0)
Expand Down
5 changes: 0 additions & 5 deletions bin/rails
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'
5 changes: 0 additions & 5 deletions bin/rake
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
require_relative '../config/boot'
require 'rake'
Rake.application.run

0 comments on commit 834f6f3

Please sign in to comment.