Permalink
Browse files

Better ordering of tasks upon app install and update.

  • Loading branch information...
1 parent 73e82cd commit ca7b0aaa927d7d0a03b4b15a71d02aff48362208 @pwnall committed Jul 13, 2011
Showing with 4 additions and 2 deletions.
  1. +2 −0 CHANGELOG
  2. +2 −2 lib/rails_pwnerer/app/main.rb
View
@@ -1,3 +1,5 @@
+v0.6.93. Better ordering of tasks upon app install and update.
+
v0.6.92. Use 'bundle exec rake' instead of 'rake' for apps with a Gemfile.
v0.6.91. Support for the asset pipeline in Rails 3.1.
@@ -27,7 +27,7 @@ def self.install(remote_path, instance_name)
break unless success == :next
end
if success == :ok
- [Assets, Config, Files, Gems, Database, ClusterConfig, NginxConfig, Scripts].each do |mod|
+ [Config, Gems, Assets, Files, Database, ClusterConfig, NginxConfig, Scripts].each do |mod|
mod.new.setup app, instance
end
Scripts.new.pre_start app, instance
@@ -55,7 +55,7 @@ def self.update(app_name, instance_name)
mod.new.update_prefetch app, instance
end
update_app app, instance do
- [Git, Perforce, Svn, Assets, Config, Gems, Files, Database, Scripts].each do |mod|
+ [Git, Perforce, Svn, Config, Gems, Assets, Files, Database, Scripts].each do |mod|
mod.new.update app, instance
end
end

0 comments on commit ca7b0aa

Please sign in to comment.