Module: Tapioca::EnvHelper

Extended by:
T::Helpers, T::Sig
Included in:
Cli
Defined in:
lib/tapioca/helpers/env_helper.rb

Instance Method Summary collapse

Instance Method Details

#set_environment(options) ⇒ Object

rubocop:disable Naming/AccessorMethodName



12
13
14
15
# File 'lib/tapioca/helpers/env_helper.rb', line 12

def set_environment(options) # rubocop:disable Naming/AccessorMethodName
  ENV["RAILS_ENV"] = ENV["RACK_ENV"] = options[:environment]
  ENV["RUBY_DEBUG_LAZY"] = "1"
end