Skip to content

Commit

Permalink
solargraph: needs ruby 2.7+
Browse files Browse the repository at this point in the history
```
  ERROR:  Error installing solargraph-0.49.0.gem:
  	The last version of rubocop (~> 1.38) to support your Ruby & RubyGems was 1.50.2. Try installing it with `gem install rubocop -v 1.50.2` and then running the current command again
  	rubocop requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
```

relates to Homebrew#142161 (comment)

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 1, 2023
1 parent caf147b commit 30579ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/s/solargraph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Solargraph < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "faeca34a6d2716350ec139ddaa22993fc65ce2cd01dddb8a3d8098a21be5c358"
end

uses_from_macos "ruby", since: :catalina
depends_on "ruby" # Requires >= Ruby 2.7

uses_from_macos "xz"

def install
Expand Down

0 comments on commit 30579ce

Please sign in to comment.