Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop spring/bootsnap #645

Merged
merged 1 commit into from
Oct 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ gem 'ruby-progressbar', '1.10.1'
# as framework
gem 'rails', '~> 5.2'

# To speedup app startup
gem 'spring', group: [:development, :test]
gem 'spring-commands-rspec', group: [:development, :test]
gem 'spring-watcher-listen', '~> 2.0.0', group: [:development, :test]

# gem package to include jQuery UI assets for the Rails asset pipeline
gem 'jquery-ui-rails'

Expand Down Expand Up @@ -86,8 +81,7 @@ gem 'mina', '~> 0.3'
gem 'puma', '~> 4.3'
# as the log formater
gem 'lograge'
# for speeding up application boot
gem 'bootsnap', '>= 1.1.0', require: false
# for listening to file modifications
gem 'listen', '>= 3.0.5', '<= 3.2.1', :group => [:development, :test]

group :test do
Expand Down
13 changes: 0 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ GEM
autoprefixer-rails (9.4.10.2)
execjs
bcrypt (3.1.13)
bootsnap (1.4.6)
msgpack (~> 1.0)
bootstrap-sass (3.4.1)
autoprefixer-rails (>= 5.2.1)
sassc (>= 2.0.0)
Expand Down Expand Up @@ -185,7 +183,6 @@ GEM
mini_portile2 (2.4.0)
minitest (5.14.2)
mousetrap-rails (1.4.6)
msgpack (1.3.3)
mysql2 (0.5.3)
nio4r (2.5.3)
nokogiri (1.10.10)
Expand Down Expand Up @@ -317,12 +314,6 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
spring (2.1.0)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
Expand Down Expand Up @@ -368,7 +359,6 @@ DEPENDENCIES
aasm
airbrake
airbrake-ruby
bootsnap (>= 1.1.0)
bootstrap-sass
cancancan
capybara
Expand Down Expand Up @@ -410,9 +400,6 @@ DEPENDENCIES
ruby-progressbar (= 1.10.1)
sass-rails (~> 5.0)
selectize-rails
spring
spring-commands-rspec
spring-watcher-listen (~> 2.0.0)
stringex
thinking-sphinx
timecop
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
1 change: 0 additions & 1 deletion config/boot.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)

require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.