From 8eb38792b7481e40f7c5f6b5be0c6938edfb81be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20R=C3=B6der?= Date: Fri, 24 Apr 2015 06:30:39 +0200 Subject: [PATCH] Add cask for RubyMine with bundled JDK --- Casks/rubymine-bundled-jdk.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Casks/rubymine-bundled-jdk.rb diff --git a/Casks/rubymine-bundled-jdk.rb b/Casks/rubymine-bundled-jdk.rb new file mode 100644 index 000000000..2a8616e5c --- /dev/null +++ b/Casks/rubymine-bundled-jdk.rb @@ -0,0 +1,20 @@ +cask :v1 => 'rubymine-bundled-jdk' do + version '7.1' + sha256 '2e9fced43c8e14ffbc82a72a8f6cde1cbab50861db079162ca5ff34c668ba57c' + + url "https://download.jetbrains.com/ruby/RubyMine-#{version}-custom-jdk-bundled.dmg" + name 'RubyMine' + homepage 'https://www.jetbrains.com/ruby/' + license :commercial + + app 'RubyMine.app' + + zap :delete => [ + '~/Library/Preferences/com.jetbrains.rubymine.plist', + '~/Library/Preferences/RubyMine70', + '~/Library/Application Support/RubyMine70', + '~/Library/Caches/RubyMine70', + '~/Library/Logs/RubyMine70', + '/usr/local/bin/mine', + ] +end