@antage thanks for spotting the missing dependency, it should be fixed now
Search Criteria
Package Details: ruby-solargraph 0.60.2-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/ruby-solargraph.git (read-only, click to copy) |
|---|---|
| Package Base: | ruby-solargraph |
| Description: | A Ruby language server |
| Upstream URL: | https://solargraph.org/ |
| Keywords: | ruby |
| Licenses: | MIT |
| Submitter: | mnussbaum |
| Maintainer: | rubin55 |
| Last Packager: | rubin55 |
| Votes: | 8 |
| Popularity: | 0.000000 |
| First Submitted: | 2018-05-25 22:51 (UTC) |
| Last Updated: | 2026-07-20 07:43 (UTC) |
Dependencies (34)
- ruby
- ruby-ast
- ruby-backportAUR
- ruby-benchmark (ruby)
- ruby-bundler
- ruby-diff-lcs
- ruby-e2mmapAUR
- ruby-jaro_winklerAUR
- ruby-kramdown
- ruby-kramdown-parser-gfm
- ruby-logger (ruby)
- ruby-observer
- ruby-open3 (ruby)
- ruby-ostruct (ruby)
- ruby-parser
- ruby-prism (ruby)
- ruby-rbs
- ruby-rdoc
- ruby-reverse_markdownAUR
- ruby-rubocop (rubocop)
- Show 14 more dependencies...
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2
mnussbaum commented on 2023-02-08 08:19 (UTC)
antage commented on 2023-01-29 13:46 (UTC) (edited on 2023-01-29 13:46 (UTC) by antage)
0.47.2: /usr/bin/solargraph
/usr/lib/ruby/3.0.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'diff-lcs' (~> 1.4) among 110 total gem(s) (Gem::MissingSpecError)
rnovatorov commented on 2020-08-31 22:23 (UTC)
Solargraph requires ruby-bundler as a runtime dependency, but it is missing in the PKGBUILD.
mnussbaum commented on 2020-04-10 22:18 (UTC)
@barskern That error is due to the nokogiri's dependency on mini_portile2 version 2.4.0. The nokogiri gem actually upgraded to mini_portile2 version 2.5.0 in https://github.com/sparklemotion/nokogiri/commit/7d6690b56a3fad12490aa1f37c8f9ac4a424a633, however that commit won't be available until the next nokogiri release, 1.11.0. Nokogiri 1.11.0 is currently in release candidate phase, so hopefully it will be available in the not-too-distant future and when it is this error should clear up.
In the meantime, you should be able to manually upgrade nokogiri on your system to the 1.11.0 RC to get past the error
barskern commented on 2020-04-10 21:14 (UTC) (edited on 2020-04-10 21:15 (UTC) by barskern)
After [ruby-mini_portile updated to 2.5.0] this does no longer run (see error below). Any tips on how to resolve this?
/usr/lib/ruby/2.7.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'mini_portile2' (~> 2.4.0) - did find: [mini_portile2-2.5.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/oruud/.gem/ruby/2.7.0:/usr/lib/ruby/gems/2.7.0', execute `gem env` for more information
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1402:in `block in activate_dependencies'
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in `each'
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in `activate_dependencies'
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1373:in `activate'
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in `each'
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in `activate_dependencies'
from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1373:in `activate'
from /usr/lib/ruby/2.7.0/rubygems.rb:296:in `block in activate_bin_path'
from /usr/lib/ruby/2.7.0/rubygems.rb:295:in `synchronize'
from /usr/lib/ruby/2.7.0/rubygems.rb:295:in `activate_bin_path'
from /usr/bin/solargraph:23:in `<main>'
mnussbaum commented on 2020-02-17 18:56 (UTC)
@Felixoid thanks! I've updated the package with your suggestions
Felixoid commented on 2020-02-17 16:16 (UTC) (edited on 2020-02-17 16:17 (UTC) by Felixoid)
Hey. Here's a patch to apply to the repository.
diff --git a/.SRCINFO b/.SRCINFO
index 1eab783..9d59ff9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ruby-solargraph
pkgdesc = A Ruby language server
pkgver = 0.38.5
- pkgrel = 0
+ pkgrel = 1
url = http://solargraph.org/
arch = any
license = MIT
@@ -9,15 +9,19 @@ pkgbase = ruby-solargraph
depends = ruby
depends = ruby-ast
depends = ruby-backport
+ depends = ruby-e2mmap
depends = ruby-htmlentities
depends = ruby-jaro_winkler
- depends = ruby-nokogiri
+ depends = ruby-maruku
depends = ruby-mini_portile2
+ depends = ruby-nokogiri
depends = ruby-parser
+ depends = ruby-progressbar
depends = ruby-reverse_markdown
depends = ruby-rubocop
depends = ruby-thor
depends = ruby-tilt
+ depends = ruby-unicode-display_width
depends = ruby-yard
noextract = solargraph-0.38.5.gem
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index ee9c7a6..cd609ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,19 @@
_gemname=solargraph
pkgname=ruby-solargraph
pkgver=0.38.5
-pkgrel=0
+pkgrel=1
pkgdesc="A Ruby language server"
arch=("any")
depends=(
- maruku
ruby
ruby-ast
ruby-backport
ruby-e2mmap
ruby-htmlentities
ruby-jaro_winkler
- ruby-nokogiri
+ ruby-maruku
ruby-mini_portile2
+ ruby-nokogiri
ruby-parser
ruby-progressbar
ruby-reverse_markdown
Pinned Comments
rubin55 commented on 2026-05-14 10:39 (UTC) (edited on 2026-06-28 12:52 (UTC) by rubin55)
Note to all: I've done some hackery to get recent solargraph (0.60.x) working with old
ruby-rbs, and in addition, I did some work to build the package from source instead of binary, and to run the test suite. I'm currently waiting for two unmaintained package orphan requests (ruby-parlourandruby-commander) which are dependencies forruby-sord, which in turn is a new AUR package that is now a dependency for this package.I've opted to go ahead and update this package, but I'm unsure if the older versions of
ruby-parlourandruby-commanderbreak eitherruby-sordor this package. The actually required version ofruby-commanderis 5.x, and the actual required version ofruby-parlouris 9.2.x.I hope to maintain both those packages in the near future (or for the maintainers to suddenly become responsive). Will update this message when it is so.