foreplay 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreplay/deploy.rb +2 -0
- data/lib/foreplay/version.rb +1 -1
- data/spec/lib/foreplay/deploy_spec.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dcbca2bf63654d78d2cdf528733477fee020f96
|
4
|
+
data.tar.gz: 19ff47ee0a537a7f1e1935d5e91c95fd43d2231c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b23f47bddebe80d7523143fd570e661b910de5ca303b6a47d8487bcbbd12c64dd57e15e845ce5401c93103a68f1ca6de4037e467764ea0199f3b587a8aa9378f
|
7
|
+
data.tar.gz: 885d93213b21d90fb7e1b1217907069085d592b44469e21974bedf2275bcec92e6f6bb169643594b2ad8978373109cba1a22b7d65df0959de813ae5f6494f7c2
|
data/lib/foreplay/deploy.rb
CHANGED
@@ -186,6 +186,8 @@ module Foreplay
|
|
186
186
|
commentary: 'Building config/resque.yml',
|
187
187
|
before: environment,
|
188
188
|
path: 'config/' },
|
189
|
+
{ command: 'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
|
190
|
+
commentary: 'Setting the current version of bundle to be the default' },
|
189
191
|
{ command: 'bundle install --deployment --without development test',
|
190
192
|
commentary: 'Using bundler to install the required gems in deployment mode' },
|
191
193
|
{ command: 'sudo bundle exec foreman export upstart /etc/init',
|
data/lib/foreplay/version.rb
CHANGED
@@ -107,6 +107,7 @@ describe Foreplay::Deploy do
|
|
107
107
|
'echo " host: TODO Put here the database host name" >> config/database.yml',
|
108
108
|
'echo " username: TODO Put here the database user" >> config/database.yml',
|
109
109
|
'echo " password: TODO Put here the database user\'s password" >> config/database.yml',
|
110
|
+
'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
|
110
111
|
'bundle install --deployment --without development test',
|
111
112
|
'sudo bundle exec foreman export upstart /etc/init',
|
112
113
|
'sudo start foreplay-50000 || sudo restart foreplay-50000',
|