inploy 1.9.4 → 1.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/inploy/dsl.rb +6 -4
  3. metadata +5 -7
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rubygems/package_task'
5
5
  require 'rspec/core/rake_task'
6
6
 
7
7
  GEM = "inploy"
8
- GEM_VERSION = "1.9.4"
8
+ GEM_VERSION = "1.9.5"
9
9
  SUMMARY = "Rails and Sinatra deployment made easy"
10
10
  AUTHOR = "Diego Carrion"
11
11
  EMAIL = "dc.rec1@gmail.com"
@@ -59,10 +59,12 @@ module Inploy
59
59
  def run(command, disable_sudo = false)
60
60
  log command
61
61
 
62
- if disable_sudo
63
- Kernel.system command
64
- else
65
- Kernel.system "#{sudo_if_should}#{command}"
62
+ Bundler.with_clean_env do
63
+ if disable_sudo
64
+ Kernel.system command
65
+ else
66
+ Kernel.system "#{sudo_if_should}#{command}"
67
+ end
66
68
  end
67
69
  end
68
70
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
- - 4
10
- version: 1.9.4
9
+ - 5
10
+ version: 1.9.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Diego Carrion
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-12 00:00:00 -03:00
19
- default_executable:
18
+ date: 2011-11-18 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  description:
@@ -48,7 +47,6 @@ files:
48
47
  - Rakefile
49
48
  - Rakefile.orig
50
49
  - README.textile
51
- has_rdoc: true
52
50
  homepage: http://www.diegocarrion.com
53
51
  licenses: []
54
52
 
@@ -78,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
76
  requirements: []
79
77
 
80
78
  rubyforge_project: inploy
81
- rubygems_version: 1.5.0
79
+ rubygems_version: 1.8.10
82
80
  signing_key:
83
81
  specification_version: 3
84
82
  summary: Rails and Sinatra deployment made easy