set up rails

This commit is contained in:
jane 2021-11-12 22:20:13 -05:00
parent 3854b1edfe
commit 1e2aecc21c
138 changed files with 9829 additions and 53 deletions

14
bin/spring Executable file
View file

@ -0,0 +1,14 @@
#!/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