mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-25 02:06:10 +01:00
Modify the binstubs to run things in docker
This commit is contained in:
parent
99ef4af3e5
commit
faceaac874
7 changed files with 35 additions and 0 deletions
|
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
if ENV["RAILS_ENV"] != "production"
|
||||
exec("#{__dir__}/../script/docker-environment", $PROGRAM_NAME, *ARGV) unless File.exist?("/etc/app-env")
|
||||
end
|
||||
begin
|
||||
load File.expand_path("../spring", __FILE__)
|
||||
rescue LoadError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue