rootstrap/rails_hotwire_base

View on GitHub
bin/spring

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby
if !defined?(Spring) && [nil, "development", "test"].include?(ENV["RAILS_ENV"])
  # Load Spring without loading other gems in the Gemfile, for speed.
  require "bundler"
  Bundler.locked_gems.specs.find { |spec| spec.name == "spring" }&.tap do |spring|
    Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
    gem "spring", spring.version
    require "spring/binstub"
  end
end