ors 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,6 @@ module ORS::Commands
5
5
  def execute
6
6
  info "migrating #{name} #{environment}..."
7
7
 
8
- bundle_install migration_server
9
8
  run_migrations migration_server
10
9
  end
11
10
 
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
- %(cd #{deploy_directory}),
41
- %(bundle install --without development test osx > bundler.log)
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, %(cd #{deploy_directory}),
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
@@ -1,3 +1,3 @@
1
1
  module ORS
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Dew and John Long