rails_pwnerer 0.6.87 → 0.6.88

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.6.88. Use bundle exec when starting / stopping the app server.
2
+
1
3
  v0.6.87. Added /etc/gemrc to stop wasting time building RDocs on servers.
2
4
 
3
5
  v0.6.86. Apps start right after they're installed.
@@ -53,7 +53,8 @@ class RailsPwnerer::App::ClusterConfig
53
53
  # TODO: stop processes in parallel
54
54
  frontends.times do |f|
55
55
  fe_port = first_port + f
56
- cmdline = "thin stop -a 127.0.0.1 -p #{fe_port} -d -P tmp/pids/fe.#{fe_port}.pid"
56
+ cmdline = "bundle exec thin stop -a 127.0.0.1 -p #{fe_port} -d " +
57
+ "-P tmp/pids/fe.#{fe_port}.pid"
57
58
  cmdline_patterns[1] = "(127.0.0.1:#{fe_port})"
58
59
  RailsPwnerer::Util.kill_process_set(cmdline, "tmp/pids/fe.#{fe_port}.pid",
59
60
  cmdline_patterns, :verbose => false, :sleep_delay => 0.2)
@@ -81,8 +82,8 @@ class RailsPwnerer::App::ClusterConfig
81
82
  RailsPwnerer::App::NginxConfig.new.update app_name, instance_name
82
83
  end
83
84
 
84
- static_cmd = "thin start -a 127.0.0.1 -c #{app_path} -u #{pwnerer_user}" +
85
- " -g #{pwnerer_group} -e #{environment} -d "
85
+ static_cmd = "bundle exec thin start -a 127.0.0.1 -c #{app_path} " +
86
+ "-u #{pwnerer_user} -g #{pwnerer_group} -e #{environment} -d "
86
87
 
87
88
  # TODO: start the servers simultaneously
88
89
  Dir.chdir app_path do
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rails_pwnerer}
5
- s.version = "0.6.87"
5
+ s.version = "0.6.88"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Victor Costan"]
9
- s.date = %q{2011-03-01}
9
+ s.date = %q{2011-03-02}
10
10
  s.default_executable = %q{bin/rpwn}
11
11
  s.description = %q{Rails deployment hack.}
12
12
  s.email = %q{victor@costan.us}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_pwnerer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 169
4
+ hash: 183
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 87
10
- version: 0.6.87
9
+ - 88
10
+ version: 0.6.88
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Costan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-01 00:00:00 -05:00
18
+ date: 2011-03-02 00:00:00 -05:00
19
19
  default_executable: bin/rpwn
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency