Skip to content

Instantly share code, notes, and snippets.

@trekdemo
Forked from rjungemann/flash_player.rb
Created February 3, 2012 14:00
Show Gist options
  • Select an option

  • Save trekdemo/1730297 to your computer and use it in GitHub Desktop.

Select an option

Save trekdemo/1730297 to your computer and use it in GitHub Desktop.
FlexSDK Homebrew formula. Installs mxmlc and other tools.
require 'formula'
class FlexSdk < Formula
url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.5/flex_sdk_4.5.1.21328_mpl.zip'
homepage 'http://opensource.adobe.com/'
version 'v4.5.1.21328'
def install
Dir.glob('bin/*').each { |file| bin.install file unless file.match /\.bat$|\.exe$/ }
Dir.glob('lib/*').each { |file| lib.install file }
end
end
@trekdemo
Copy link
Author

trekdemo commented Feb 3, 2012

brew install "https://gist.github.com/raw/1730297/5cabfd07acef9bd4b49875543a3effacbb17da54/flash_player.rb"

brew install "https://gist.github.com/raw/1730297/68521bf2f211c739ec19366070a8cb8066ec185b/flex_sdk.rb"

@okanck
Copy link

okanck commented May 15, 2018

I was getting undefined method md5 error while trying to update or using any homebrew commands.

To solve this problem you can basically remove the md5 line or replacing by sha256.

brew edit flex_sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment