rubber 1.14.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 1.14.1 (06/02/2011)
2
+ -----
3
+
4
+ Upgraded the version of RVM installed by default
5
+ Switched from using our own installation method to using the new RVM installer
6
+
1
7
  1.14.0 (06/02/2011)
2
8
  -----
3
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.14.1
@@ -7,35 +7,11 @@ namespace :rubber do
7
7
  task :install_rvm do
8
8
  rubber.sudo_script "install_rvm", <<-ENDSCRIPT
9
9
  if [[ ! `rvm --version 2> /dev/null` =~ "#{rubber_env.rvm_version}" ]]; then
10
- echo "rvm_prefix=/usr/local/" > /etc/rvmrc
11
- echo "#{rubber_env.rvm_prepare}" > /etc/profile.d/rvm.sh
12
-
13
- # Copied below from http://rvm.beginrescueend.com/releases/rvm-install-latest
14
- #
15
-
16
- if [[ -f /etc/rvmrc ]] ; then source /etc/rvmrc ; fi
17
-
18
- if [[ -f "$HOME/.rvmrc" ]] ; then source "$HOME/.rvmrc" ; fi
19
-
20
- rvm_path="${rvm_path:-$HOME/.rvm}"
21
-
22
- mkdir -p $rvm_path/src/
23
-
24
- builtin cd $rvm_path/src
25
-
26
- stable_version=#{rubber_env.rvm_version}
27
-
28
- echo "rvm-${stable_version}"
29
-
30
- curl -L "http://rvm.beginrescueend.com/releases/rvm-${stable_version}.tar.gz" -o "rvm-${stable_version}.tar.gz"
31
-
32
- tar zxf "rvm-${stable_version}.tar.gz"
33
-
34
- builtin cd "rvm-${stable_version}"
35
-
36
- dos2unix scripts/* >/dev/null 2>&1 || true
37
-
38
- bash ./scripts/install
10
+ cd /tmp
11
+ curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer
12
+ chmod +x rvm-installer
13
+ rm -f /etc/rvmrc
14
+ rvm_path=#{rubber_env.rvm_prefix} ./rvm-installer --version #{rubber_env.rvm_version}
39
15
 
40
16
  # Set up the rubygems version
41
17
  sed -i 's/rubygems_version=.*/rubygems_version=#{rubber_env.rubygems_version}/' #{rubber_env.rvm_prefix}/config/db
@@ -47,9 +23,6 @@ namespace :rubber do
47
23
  # Set up the .gemrc file
48
24
  echo "--- " >> ~/.gemrc
49
25
  echo "gem: --no-ri --no-rdoc" >> ~/.gemrc
50
-
51
- #
52
- # end rvm install script
53
26
  fi
54
27
  ENDSCRIPT
55
28
  end
@@ -1,4 +1,3 @@
1
-
2
1
  # rvm needs some extra packages to compile/install ruby runtimes
3
2
  # curl is required.
4
3
  # patch is required (for ree, some ruby head's).
@@ -12,7 +11,7 @@
12
11
  packages: [build-essential, git-core, subversion, curl, autoconf, bison, ruby, zlib1g-dev, libssl-dev, libreadline5-dev, libxml2-dev]
13
12
 
14
13
  # REQUIRED: the version of rvm itself
15
- rvm_version: 1.2.7
14
+ rvm_version: 1.6.18
16
15
 
17
16
  # REQUIRED: Set to the rvm version string for the ruby version you wish to use
18
17
  # Run "rvm list known" to see the list of possible options
@@ -7,35 +7,11 @@ namespace :rubber do
7
7
  task :install_rvm do
8
8
  rubber.sudo_script "install_rvm", <<-ENDSCRIPT
9
9
  if [[ ! `rvm --version 2> /dev/null` =~ "#{rubber_env.rvm_version}" ]]; then
10
- echo "rvm_prefix=/usr/local/" > /etc/rvmrc
11
- echo "#{rubber_env.rvm_prepare}" > /etc/profile.d/rvm.sh
12
-
13
- # Copied below from http://rvm.beginrescueend.com/releases/rvm-install-latest
14
- #
15
-
16
- if [[ -f /etc/rvmrc ]] ; then source /etc/rvmrc ; fi
17
-
18
- if [[ -f "$HOME/.rvmrc" ]] ; then source "$HOME/.rvmrc" ; fi
19
-
20
- rvm_path="${rvm_path:-$HOME/.rvm}"
21
-
22
- mkdir -p $rvm_path/src/
23
-
24
- builtin cd $rvm_path/src
25
-
26
- stable_version=#{rubber_env.rvm_version}
27
-
28
- echo "rvm-${stable_version}"
29
-
30
- curl -L "http://rvm.beginrescueend.com/releases/rvm-${stable_version}.tar.gz" -o "rvm-${stable_version}.tar.gz"
31
-
32
- tar zxf "rvm-${stable_version}.tar.gz"
33
-
34
- builtin cd "rvm-${stable_version}"
35
-
36
- dos2unix scripts/* >/dev/null 2>&1 || true
37
-
38
- bash ./scripts/install
10
+ cd /tmp
11
+ curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer
12
+ chmod +x rvm-installer
13
+ rm -f /etc/rvmrc
14
+ rvm_path=#{rubber_env.rvm_prefix} ./rvm-installer --version #{rubber_env.rvm_version}
39
15
 
40
16
  # Set up the rubygems version
41
17
  sed -i 's/rubygems_version=.*/rubygems_version=#{rubber_env.rubygems_version}/' #{rubber_env.rvm_prefix}/config/db
@@ -47,9 +23,6 @@ namespace :rubber do
47
23
  # Set up the .gemrc file
48
24
  echo "--- " >> ~/.gemrc
49
25
  echo "gem: --no-ri --no-rdoc" >> ~/.gemrc
50
-
51
- #
52
- # end rvm install script
53
26
  fi
54
27
  ENDSCRIPT
55
28
  end
@@ -1,4 +1,3 @@
1
-
2
1
  # rvm needs some extra packages to compile/install ruby runtimes
3
2
  # curl is required.
4
3
  # patch is required (for ree, some ruby head's).
@@ -12,7 +11,7 @@
12
11
  packages: [build-essential, git-core, subversion, curl, autoconf, bison, ruby, zlib1g-dev, libssl-dev, libreadline5-dev, libxml2-dev]
13
12
 
14
13
  # REQUIRED: the version of rvm itself
15
- rvm_version: 1.2.7
14
+ rvm_version: 1.6.18
16
15
 
17
16
  # REQUIRED: Set to the rvm version string for the ruby version you wish to use
18
17
  # Run "rvm list known" to see the list of possible options
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 45
4
5
  prerelease:
5
- version: 1.14.0
6
+ segments:
7
+ - 1
8
+ - 14
9
+ - 1
10
+ version: 1.14.1
6
11
  platform: ruby
7
12
  authors:
8
13
  - Matt Conway
@@ -21,6 +26,11 @@ dependencies:
21
26
  requirements:
22
27
  - - ">="
23
28
  - !ruby/object:Gem::Version
29
+ hash: 31
30
+ segments:
31
+ - 2
32
+ - 4
33
+ - 0
24
34
  version: 2.4.0
25
35
  type: :runtime
26
36
  version_requirements: *id001
@@ -32,6 +42,11 @@ dependencies:
32
42
  requirements:
33
43
  - - ">="
34
44
  - !ruby/object:Gem::Version
45
+ hash: 25
46
+ segments:
47
+ - 0
48
+ - 9
49
+ - 17
35
50
  version: 0.9.17
36
51
  type: :runtime
37
52
  version_requirements: *id002
@@ -43,6 +58,9 @@ dependencies:
43
58
  requirements:
44
59
  - - ">="
45
60
  - !ruby/object:Gem::Version
61
+ hash: 3
62
+ segments:
63
+ - 0
46
64
  version: "0"
47
65
  type: :runtime
48
66
  version_requirements: *id003
@@ -54,6 +72,9 @@ dependencies:
54
72
  requirements:
55
73
  - - ">="
56
74
  - !ruby/object:Gem::Version
75
+ hash: 3
76
+ segments:
77
+ - 0
57
78
  version: "0"
58
79
  type: :runtime
59
80
  version_requirements: *id004
@@ -480,17 +501,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
480
501
  requirements:
481
502
  - - ">="
482
503
  - !ruby/object:Gem::Version
504
+ hash: 3
505
+ segments:
506
+ - 0
483
507
  version: "0"
484
508
  required_rubygems_version: !ruby/object:Gem::Requirement
485
509
  none: false
486
510
  requirements:
487
511
  - - ">="
488
512
  - !ruby/object:Gem::Version
513
+ hash: 3
514
+ segments:
515
+ - 0
489
516
  version: "0"
490
517
  requirements: []
491
518
 
492
519
  rubyforge_project: rubber
493
- rubygems_version: 1.3.8
520
+ rubygems_version: 1.6.2
494
521
  signing_key:
495
522
  specification_version: 3
496
523
  summary: A capistrano plugin for managing multi-instance deployments to the cloud (ec2)