Package Details: ruby-solargraph 0.50.0-1

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: 9
Popularity: 0.000361
First Submitted: 2018-05-25 22:51 (UTC)
Last Updated: 2024-01-04 16:41 (UTC)

Latest Comments

1 2 Next › Last »

Gaspartame commented on 2024-04-17 20:49 (UTC) (edited on 2024-04-17 20:50 (UTC) by Gaspartame)

@mnussbaum I had this error when launching solargraph : /usr/lib/ruby/3.0.0/rubygems/specification.rb:1453:in `rescue in block in activate_dependencies': Could not find 'rbs' (~> 2.0) among 121 total gem(s) (Gem::MissingSpecError) So I simply did as indicated here:

gem install rbs -v 2.0.0

and it now works ! :D I guess this is not a clean installation for the arch system, but until there is a fix...

mnussbaum commented on 2024-01-04 16:49 (UTC)

Hmm, it looks like ruby-rbs packages RBS version 3.1.0, but solargraph depends on RBS 2.x. Any suggestions for how to deal with this?

SaltRockLamp commented on 2024-01-04 04:10 (UTC) (edited on 2024-01-04 04:13 (UTC) by SaltRockLamp)

Another vote here for adding ruby-rbs to the runtime deps:

/usr/lib/ruby/3.0.0/rubygems/specification.rb:1453:in `rescue in block in activate_dependencies': Could not find 'rbs' (~> 2.0) among 112 total gem(s) (Gem::MissingSpecError)

Levitating commented on 2023-10-25 11:43 (UTC) (edited on 2023-10-25 11:44 (UTC) by Levitating)

I think this should also depend on version 2 of rbs

mnussbaum commented on 2023-02-08 08:19 (UTC)

@antage thanks for spotting the missing dependency, it should be fixed now

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