aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/grails.rb29
1 files changed, 12 insertions, 17 deletions
diff --git a/Library/Formula/grails.rb b/Library/Formula/grails.rb
index fb86076d7..1e5183335 100644
--- a/Library/Formula/grails.rb
+++ b/Library/Formula/grails.rb
@@ -1,8 +1,8 @@
require 'formula'
class Grails < Formula
- url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.0.0.zip'
homepage 'http://grails.org'
+ url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.0.0.zip'
md5 '9d18e2b3bbb4ed249ff1fad1f4b11311'
def install
@@ -16,33 +16,28 @@ class Grails < Formula
end
end
- def caveats
- <<-EOS.undent
- IMPORTANT!
-
- Notes On Upgrading #{name.capitalize} From Versions < 1.3.7
+ def caveats; <<-EOS.undent
+ Important Note On Upgrading Grails From Versions < 1.3.7
The directory layout has been changed slightly for versions >= 1.3.7
in order to conform with Homebrew conventions for installation of Java
jar files. Please note the following:
- Before upgrading -
+ Before upgrading:
+ run 'brew unlink grails' (keeps old version in cellar)
+ or
+ run 'brew rm grails' (deletes old version from cellar)
- run 'brew unlink #{name}' (keeps old version in cellar)
- OR
- run 'brew rm #{name}' (deletes old version from cellar)
- THEN
+ and then:
run 'brew prune'
- This is to ensure that #{HOMEBREW_PREFIX} is cleaned of references to the
+ This is to ensure that HOMEBREW_PREFIX is cleaned of references to the
old version.
- The #{name.capitalize} home directory for versions < 1.3.7 was in the form:
-
- #{HOMEBREW_CELLAR}/#{name}/1.3.6
-
- For versions >= 1.3.7, the #{name.capitalize} home directory is in the form:
+ The Grails home directory for versions < 1.3.7 was in the form:
+ #{HOMEBREW_CELLAR}/grails/1.3.6
+ For versions >= 1.3.7, the Grails home directory is in the form:
#{libexec}
If you set the GRAILS_HOME variable explicitly in your shell environment,