ors 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ors/commands/migrate.rb +0 -1
- data/lib/ors/helpers.rb +4 -3
- data/lib/ors/version.rb +1 -1
- metadata +3 -3
data/lib/ors/commands/migrate.rb
CHANGED
data/lib/ors/helpers.rb
CHANGED
@@ -37,8 +37,8 @@ module ORS
|
|
37
37
|
info "[#{server}] installing bundle..."
|
38
38
|
|
39
39
|
execute_command server, %(source ~/.rvm/scripts/rvm),
|
40
|
-
|
41
|
-
|
40
|
+
%(cd #{deploy_directory}),
|
41
|
+
%(bundle install --without development test osx > bundler.log)
|
42
42
|
end
|
43
43
|
|
44
44
|
def start_server server
|
@@ -66,7 +66,8 @@ module ORS
|
|
66
66
|
def run_migrations server
|
67
67
|
info "[#{server}] running migrations..."
|
68
68
|
|
69
|
-
execute_command server, %(
|
69
|
+
execute_command server, %(source ~/.rvm/scripts/rvm),
|
70
|
+
%(cd #{deploy_directory}),
|
70
71
|
%(RAILS_ENV=#{environment} bundle exec rake db:migrate db:seed)
|
71
72
|
end
|
72
73
|
|
data/lib/ors/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jason Dew and John Long
|