Sha256: 110eaf7a51d7c2f955a4a62f3902d780813613f7c9f6dedf8c661fcc9a4cf7c7
Contents?: true
Size: 683 Bytes
Versions: 22
Compression:
Stored size: 683 Bytes
Contents
# install ruby and so on package 'python-software-properties' execute 'apt-add-repository ppa:brightbox/ruby-ng && apt-get update' do not_if 'test -e /etc/apt/sources.list.d/brightbox-ruby-ng-precise.list' end package 'build-essential' package 'ruby2.1' package 'ruby2.1-dev' execute 'gem install bundler' do not_if "gem list | grep -q 'bundler '" end execute 'bundle install' do cwd '/vagrant/app' end # supervisor package 'supervisor' execute 'reload supervisor' do command 'supervisorctl reload' action :nothing end cookbook_file '/etc/supervisor/conf.d/rackup.conf' do notifies :run, 'execute[reload supervisor]' end execute 'supervisorctl restart rackup'
Version data entries
22 entries across 22 versions & 1 rubygems