Exception: Javy::InstallationError
- Defined in:
- ext/javy/javy.rb
Class Method Summary collapse
- .asset_not_found(platform:, version:, url:) ⇒ Object
- .cpu_unsupported ⇒ Object
- .invalid_binary ⇒ Object
Class Method Details
.asset_not_found(platform:, version:, url:) ⇒ Object
92 93 94 95 96 97 98 99 100 |
# File 'ext/javy/javy.rb', line 92 def self.asset_not_found(platform:, version:, url:) new(format( "Unable to download javy %{version} for %{os} (%{cpu}) at %{url}", version: version, os: platform.os, cpu: platform.cpu, url: url )) end |
.cpu_unsupported ⇒ Object
88 89 90 |
# File 'ext/javy/javy.rb', line 88 def self.cpu_unsupported new("Javy is not supported on this CPU") end |
.invalid_binary ⇒ Object
102 103 104 |
# File 'ext/javy/javy.rb', line 102 def self.invalid_binary new("Invalid Javy binary downloaded.") end |