mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
Generated with railsnew.io: `rails new van_dam --skip-action-mailbox --skip-action-text --skip-system-test --skip-test --template https://www.railsbytes.com/script/zyvso6`
15 lines
492 B
Ruby
Executable File
15 lines
492 B
Ruby
Executable File
#!/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
|