Sha256: 5591fd116f41a60a3cb7a70c090fe5a322bdb0a677821dadaf75cfbcbe577ef3
Contents?: true
Size: 584 Bytes
Versions: 13
Compression:
Stored size: 584 Bytes
Contents
module Bundler module RubyDsl def ruby(ruby_version, options = {}) raise GemfileError, "Please define :engine_version" if options[:engine] && options[:engine_version].nil? raise GemfileError, "Please define :engine" if options[:engine_version] && options[:engine].nil? raise GemfileError, "ruby_version must match the :engine_version for MRI" if options[:engine] == "ruby" && options[:engine_version] && ruby_version != options[:engine_version] @ruby_version = RubyVersion.new(ruby_version, options[:engine], options[:engine_version]) end end end
Version data entries
13 entries across 13 versions & 1 rubygems