12345678910111213141516171819 |
- #!/usr/bin/env ruby
- # frozen_string_literal: true
- require_relative "./../.env"
- if ENV["DATA_STRUCTURES_RB_ENV"] == "development"
- require "pathname"
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
- Pathname.new(__FILE__).realpath)
- require "rubygems"
- require "bundler/setup"
- load Gem.bin_path("debride", "debride")
- else
- $stderr.puts "ERROR: debride should only be run during development"
- exit(1)
- end
|