Class: Perkins::Build::Script::Ruby
- Inherits:
-
Perkins::Build::Script
- Object
- Perkins::Build::Script
- Perkins::Build::Script::Ruby
- Defined in:
- lib/perkins/build/script/ruby.rb
Constant Summary collapse
- DEFAULTS =
{ rvm: 'default', gemfile: 'Gemfile' }
Constants included from Bundler
Constants inherited from Perkins::Build::Script
Instance Attribute Summary
Attributes inherited from Perkins::Build::Script
#data, #options, #repo, #stack
Instance Method Summary collapse
Methods included from Bundler
#cache_slug, #install, #prepare_cache, #setup, #use_directory_cache?
Methods included from RVM
Methods included from Jdk
Methods inherited from Perkins::Build::Script
#compile, defaults, #initialize
Methods included from Helpers
#announce?, #before_install, #failure, #sh, #stacking
Methods included from Stages
#call_custom_stage, #run_builtin_stage, #run_stage, #run_stages
Constructor Details
This class inherits a constructor from Perkins::Build::Script
Instance Method Details
#announce ⇒ Object
14 15 16 17 |
# File 'lib/perkins/build/script/ruby.rb', line 14 def announce super cmd 'gem --version', timing: false end |
#script ⇒ Object
19 20 21 |
# File 'lib/perkins/build/script/ruby.rb', line 19 def script gemfile? then: 'bundle exec rake', else: 'rake' end |