From 49180ab2955e7ec4df7b4e86c8d66c158c9ac7cd Mon Sep 17 00:00:00 2001 From: Tiago Moraes Date: Fri, 21 Nov 2014 11:54:00 -0300 Subject: [PATCH] Add Rubymine.app v6.3.3 --- Casks/rubymine633.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Casks/rubymine633.rb diff --git a/Casks/rubymine633.rb b/Casks/rubymine633.rb new file mode 100644 index 000000000..17826d7c1 --- /dev/null +++ b/Casks/rubymine633.rb @@ -0,0 +1,18 @@ +cask :v1 => 'rubymine633' do + version '6.3.3' + sha256 'c79216de02f2564ea60592420342ab9fb5014da7e7c96f92e2856dc49f2090dd' + + url "http://download-cf.jetbrains.com/ruby/RubyMine-#{version}.dmg" + homepage 'http://www.jetbrains.com/ruby/' + license :unknown + + app 'RubyMine.app' + + postflight do + system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/RubyMine.app/Contents/Info.plist" + end + zap :delete => [ + "~/Library/Application Support/RubyMine#{version.gsub('.','')}", + "~/Library/Preferences/RubyMine#{version.gsub('.','')}", + ] +end