Package Details: ruby-solargraph 0.39.7-3

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: http://solargraph.org/
Licenses: MIT
Submitter: mnussbaum
Maintainer: mnussbaum
Last Packager: mnussbaum
Votes: 5
Popularity: 0.41
First Submitted: 2018-05-25 22:51
Last Updated: 2020-05-25 07:44

Latest Comments

mnussbaum commented on 2020-04-10 22:18

@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

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

@Felixoid thanks! I've updated the package with your suggestions

Felixoid commented on 2020-02-17 16:16

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