teleport 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,7 +6,7 @@ Teleport strives to be **idempotent** - you can run it repeatedly without changi
6
6
 
7
7
  Teleport is great for managing a small number of hosted machines, either dedicated or in the cloud. Due to it's opinionated nature and limited scope you may find that it works better for you than other, more complicated tools.
8
8
 
9
- At the moment Teleport supports **Ubuntu 10.04/10.10/11.04/11.10 with Ruby 1.8.7, 1.9.2, 1.9.3, or [REE](http://www.rubyenterpriseedition.com/)**.
9
+ At the moment Teleport supports **Ubuntu 10.04/10.10/11.04/11.10/12.04 with Ruby 1.8.7, 1.9.2, 1.9.3, or [REE](http://www.rubyenterpriseedition.com/)**.
10
10
 
11
11
  ## Getting Started
12
12
 
@@ -49,7 +49,10 @@ function install_ruby() {
49
49
 
50
50
  function install_ruby_187() {
51
51
  apt-get -y install irb libopenssl-ruby libreadline-ruby rdoc ri ruby ruby-dev
52
+ install_rubygems
53
+ }
52
54
 
55
+ function install_rubygems() {
53
56
  wget http://production.cf.rubygems.org/rubygems/rubygems-$CONFIG_RUBYGEMS.tgz
54
57
  tar xfpz rubygems-$CONFIG_RUBYGEMS.tgz
55
58
  (cd rubygems-$CONFIG_RUBYGEMS ; ruby setup.rb)
@@ -72,7 +75,7 @@ function install_ruby_19_requirements() {
72
75
  }
73
76
 
74
77
  function install_ruby_192() {
75
- local patch=p290
78
+ local patch=p320
76
79
 
77
80
  install_ruby_19_requirements
78
81
 
@@ -102,7 +105,7 @@ function install_ruby_192() {
102
105
  }
103
106
 
104
107
  function install_ruby_193() {
105
- local patch=p125
108
+ local patch=p194
106
109
 
107
110
  install_ruby_19_requirements
108
111
 
@@ -177,5 +180,13 @@ if ! which ruby > /dev/null ; then
177
180
  install_ruby
178
181
  fi
179
182
 
183
+ # do we need to get rid of the apt rubygems package?
184
+ if dpkg-query -f='${Status}' -W rubygems1.8 2>&1 | grep 'install ok installed' ; then
185
+ banner "Installing rubygems from source..."
186
+ apt-get install -y wget
187
+ apt-get remove -y rubygems1.8
188
+ install_rubygems
189
+ fi
190
+
180
191
  # run teleport!
181
192
  ruby -I gem -r teleport -e "Teleport::Main.new(:install)"
@@ -1,4 +1,4 @@
1
1
  module Teleport
2
2
  # Gem version
3
- VERSION = "1.0.7"
3
+ VERSION = "1.0.8"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teleport
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-06 00:00:00.000000000 Z
12
+ date: 2012-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: amazon-ec2
@@ -136,7 +136,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: -2187502766216753252
139
+ hash: -731149795966424808
140
140
  required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  none: false
142
142
  requirements:
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: -2187502766216753252
148
+ hash: -731149795966424808
149
149
  requirements: []
150
150
  rubyforge_project: teleport
151
151
  rubygems_version: 1.8.21