Manage chruby on OS X
bundle
bundle exec soloist
NOTE: All preferences are namespaced under sprout => chruby
they include:
[auto_change_ruby]
— Boolean indicating whether to enable auto-switching in chruby['default_ruby']
— the default ruby version to use['rubies']
— rubies to install, a hash of interpreter to versions- ex:
{'ruby' => ['1.9.3', '2.1.3'], 'jruby' => ['1.7.16']
- ex:
[rubies_dir]
The location where rubies should be installed, default isnode['sprout']['home']/.rubies
per chruby docs
sprout-chruby
sprout-chruby::chruby
sprout-chruby::default_ruby
sprout-chruby::rubies
bundle
bundle exec rake
The default rake task includes rubocop, foodcritic, unit specs
bundle
bundle exec rake rubocop
bundle
bundle exec rake foodcritic
Unit specs use ServerSpec
bundle
bundle exec rake spec:unit
Integrations specs will run the default recipe on the host system (destructive) and make assertions on the system after install.
Note: It has a precondition that chruby is not already installed on the system.
bundle
bundle exec rake spec:integration