File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,10 @@ If you are using another ruby version manager or no manager at all:
44
44
` ` ` bash
45
45
$ shopify-ruby build 3.2.2-pshopify4 ~ /.rubies/versions/3.2.2
46
46
` ` `
47
+
48
+ 5. Resolve a less specific version to one of these definitions
49
+ ` ` ` bash
50
+ $ shopify-ruby resolve 3.2
51
+ $ shopify-ruby resolve 3.2
52
+ 3.2.2-pshopify4
53
+ ` ` `
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ definitions = [
9
9
] . compact . join ( ":" )
10
10
11
11
case ARGV . shift
12
+ when "resolve"
13
+ puts ShopifyRubyDefinitions . resolve_version ( ARGV . first )
12
14
when "versions"
13
15
puts ShopifyRubyDefinitions ::RubyVersions ::ALL_VERSIONS
14
16
when "build"
@@ -17,7 +19,8 @@ when "env"
17
19
puts %{export RUBY_BUILD_DEFINITIONS="#{ definitions } "}
18
20
else
19
21
$stderr. puts <<~USAGE
20
- Usage: shopify-ruby list
22
+ Usage: shopify-ruby versions
23
+ shopify-ruby resolve <version>
21
24
shopify-ruby build [-kpv] <definition> <prefix>
22
25
shopify-ruby env
23
26
USAGE
You can’t perform that action at this time.
0 commit comments