Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

upgrade 1.2 apps as well.

  • Loading branch information...
commit 6a14a2608e24742629f4a26c19818ce978e2fcf3 1 parent f742af6
Brian Moore authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 bin/upgrade-rhodes-app
View
10 bin/upgrade-rhodes-app
@@ -36,3 +36,13 @@ unless File.exists? "icon/icon.png"
end
cp File.dirname(__FILE__) + '/../res/generators/templates/application/Rakefile', 'Rakefile'
+
+oldrhoconfig = IO.read("rhoconfig.txt")
+newrhoconfig = File.open("rhoconfig.txt","w") do |f|
+ oldrhoconfig.each_line do |line|
+ unless line =~ /^require/
+ line.gsub!(/Rho::RhoConfig\./,"")
+ f.write line
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.