Class: Rsm::Bundle::Install
- Defined in:
- lib/tasks/bundle/install.rb
Constant Summary
Constants inherited from Rsm::Base
Constants included from Actions
Instance Attribute Summary
Attributes inherited from Rsm::Base
#server, #socket_per_worker, #worker_processes
Instance Method Summary collapse
Methods inherited from Rsm::Base
#set_destination_root, #set_server, #set_worker_processes, source_root, template_path
Methods included from Actions
#application_root, #downloaded_file, #fetch_temporary_archive, #ruby_binary, #run_ruby_binary, #run_with_bundler, #unpack_compressed_archive
Instance Method Details
#check_and_install ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/tasks/bundle/install.rb', line 7 def check_and_install bundle_install = "bundle install" bundle_install << " --deployment" if [:deployment] bundle_install << " --without #{[:without]}" if [:without] inside "." do run_ruby_binary "bundle check || #{bundle_install}" end end |