summaryrefslogtreecommitdiff
path: root/homebrew/rubyat24/.beer
blob: e5b9a7957669bab46bf033d29696ea563e05425f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "name": "RubyAT24",
    "description": "Powerful, clean, object-oriented scripting language",
    "url": "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.6.tar.xz",
    "mirror": null,
    "homepage": "https://www.ruby-lang.org/",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "libyaml",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "readline",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "rm_f %W[",
        "#{rubygems_bindir}/bundle",
        "#{rubygems_bindir}/bundler",
        "]",
        "rm_rf Dir[HOMEBREW_PREFIX/\"lib/ruby/gems/#{api_version}/gems/bundler-*\"]",
        "rubygems_bindir.install_symlink Dir[libexec/\"gembin/*\"]",
        "config_file = lib/\"ruby/#{api_version}/rubygems/defaults/operating_system.rb\"",
        "config_file.unlink if config_file.exist?",
        "config_file.write rubygems_config",
        "%w[sitearchdir vendorarchdir].each do |dir|",
        "mkdir_p `#{bin}/ruby -rrbconfig -e 'print RbConfig::CONFIG[\"#{dir}\"]'`"
    ],
    "version": "2.4.6",
    "file": "ruby@2.4.rb"
}