lib/spring/commands.rb in spring-2.0.2 vs lib/spring/commands.rb in spring-2.1.0

- old
+ new

@@ -30,10 +30,10 @@ # If the config/spring.rb contains requires for commands from other gems, # then we need to be under bundler. require "bundler/setup" - # Auto-require any spring extensions which are in the Gemfile + # Auto-require any Spring extensions which are in the Gemfile Gem::Specification.map(&:name).grep(/^spring-/).each do |command| begin require command rescue LoadError => error if error.message.include?(command)