homebrew-cask/Casks/rubymine.rb

22 lines
800 B
Ruby
Raw Normal View History

2012-10-16 06:53:32 +08:00
class Rubymine < Cask
2014-06-19 23:59:30 +08:00
version '6.3.3'
sha256 'c79216de02f2564ea60592420342ab9fb5014da7e7c96f92e2856dc49f2090dd'
2014-09-26 20:09:10 +08:00
url "http://download-cf.jetbrains.com/ruby/RubyMine-#{version}.dmg"
homepage 'http://www.jetbrains.com/ruby/'
2014-09-16 00:06:15 +08:00
app 'RubyMine.app'
2014-09-09 20:55:28 +08:00
postflight do
system "/usr/libexec/PlistBuddy", "-c", "Set :JVMOptions:JVMVersion 1.6+", "#{destination_path}/RubyMine.app/Contents/Info.plist"
end
2014-09-18 19:57:59 +08:00
zap :delete => [
'~/Library/Application Support/RubyMine40',
'~/Library/Preferences/RubyMine40',
'~/Library/Application Support/RubyMine50',
'~/Library/Preferences/RubyMine50',
'~/Library/Application Support/RubyMine60',
'~/Library/Preferences/RubyMine60',
]
2012-10-16 06:53:32 +08:00
end