capistrano-rbenv 1.0.0rc2 → 1.0.0
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.
- data/lib/capistrano-rbenv.rb +1 -1
- data/lib/capistrano-rbenv/version.rb +1 -1
- data/test/config/deploy.rb +1 -4
- metadata +5 -5
data/lib/capistrano-rbenv.rb
CHANGED
@@ -84,6 +84,7 @@ module Capistrano
|
|
84
84
|
end
|
85
85
|
_setup unless installed
|
86
86
|
configure if rbenv_setup_shell
|
87
|
+
rbenv.global(rbenv_ruby_version) if fetch(:rbenv_setup_global_version, true)
|
87
88
|
setup_bundler if rbenv_install_bundler
|
88
89
|
}
|
89
90
|
after "deploy:setup", "rbenv:setup"
|
@@ -301,7 +302,6 @@ module Capistrano
|
|
301
302
|
rbenv.install(rbenv_ruby_version)
|
302
303
|
end
|
303
304
|
rbenv.exec("#{ruby} --version") # check if ruby is executable
|
304
|
-
rbenv.global(rbenv_ruby_version) if fetch(:rbenv_setup_global_version, true)
|
305
305
|
}
|
306
306
|
|
307
307
|
_cset(:rbenv_bundler_gem, 'bundler')
|
data/test/config/deploy.rb
CHANGED
@@ -8,10 +8,7 @@ set :scm, :none
|
|
8
8
|
set :use_sudo, false
|
9
9
|
set :user, "vagrant"
|
10
10
|
set :password, "vagrant"
|
11
|
-
set :ssh_options
|
12
|
-
run_locally("rm -f known_hosts")
|
13
|
-
{:user_known_hosts_file => "known_hosts"}
|
14
|
-
end
|
11
|
+
set :ssh_options, {:user_known_hosts_file => "/dev/null"}
|
15
12
|
|
16
13
|
role :web, "192.168.33.10"
|
17
14
|
role :app, "192.168.33.10"
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rbenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Yamashita Yuu
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -116,9 +116,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
|
-
- - ! '
|
119
|
+
- - ! '>='
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
121
|
+
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
124
|
rubygems_version: 1.8.23
|