Permalink
Browse files

bugfix

  • Loading branch information...
1 parent 99f8cc8 commit e7e17e334f29f085c6ab61a2efba82663404eab8 Thomas Balthazar committed Mar 21, 2009
Showing with 5 additions and 16 deletions.
  1. +4 −15 lib/capistrano/ext/ubuntu-machine/ruby.rb
  2. +1 −1 ubuntu-machine.gemspec
@@ -64,26 +64,15 @@
task :upgrade_passenger, :roles => :app do
sudo "/opt/#{ruby_enterprise_version}/bin/ruby /opt/#{ruby_enterprise_version}/bin/gem install passenger"
run "sudo /opt/#{ruby_enterprise_version}/bin/ruby /opt/#{ruby_enterprise_version}/bin/passenger-install-apache2-module --auto"
-
+
put render("passenger.load", binding), "/home/#{user}/passenger.load"
put render("passenger.conf", binding), "/home/#{user}/passenger.conf"
- sudo "mv /home/#{user}/passenger.load /etc/apache2/mods-available/"
- sudo "mv /home/#{user}/passenger.conf /etc/apache2/mods-available/"
+ sudo "cp /home/#{user}/passenger.load /etc/apache2/mods-available/"
+ sudo "cp /home/#{user}/passenger.conf /etc/apache2/mods-available/"
sudo "a2enmod passenger"
apache.force_reload
end
-
- task :tmp, :roles => :app do
- put render("passenger.load", binding), "/home/#{user}/passenger.load"
- put render("passenger.conf", binding), "/home/#{user}/passenger.conf"
-
- sudo "mv /home/#{user}/passenger.load /etc/apache2/mods-available/"
- sudo "mv /home/#{user}/passenger.conf /etc/apache2/mods-available/"
-
- sudo "a2enmod passenger"
- apache.force_reload
- end
-
+
end
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "ubuntu-machine"
- s.version = "0.5.1"
+ s.version = "0.5.3"
s.date = "2009-03-21"
s.summary = "Capistrano recipes for setting up and deploying to a Ubuntu Machine"
s.email = "thomas@suitmymind.com"

0 comments on commit e7e17e3

Please sign in to comment.