/
Matslex
/
ProjectDevelopment
Обзор
Документация
Войти
/
Matslex
/
ProjectDevelopment
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
bin/spring
14 строк
494 B
Matslex
Initial commit
07 июл 2025, 13:27
07 июл 2025, 13:27
197aa07
Код
Авторство
О чём код?
#!/usr/bin/env ruby if !defined?(Spring) && [nil, "development", "test"].include?(ENV["RAILS_ENV"]) gem "bundler" require "bundler" # Load Spring without loading other gems in the Gemfile, for speed. 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" rescue Gem::LoadError # Ignore when Spring is not installed. end end