Top Level Namespace

Defined Under Namespace

Modules: LambdaRubyBundler

Constant Summary collapse

BUNDLE_DEPS =
ARGV.include?('use-deps')
RUBY_ENTRY_REGEX =
/\A\s*ruby\s+("|')\d+\.\d+\.\d+("|')\s*\z/.freeze

Instance Method Summary collapse

Instance Method Details

#bundle_install(*additional_options) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/lambda_ruby_bundler/packager.rb', line 17

def bundle_install(*additional_options)
  [
    'bundle install',
    '--path build/vendor/bundle',
    *additional_options
  ].join(' ')
end

#silent(command) ⇒ Object



13
14
15
# File 'lib/lambda_ruby_bundler/packager.rb', line 13

def silent(command)
  system(command, out: File::NULL, err: File::NULL)
end