Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby plugin fails to start: can't find solargraph #18871

Closed
4 of 14 tasks
sunix opened this issue Jan 24, 2021 · 1 comment · Fixed by eclipse-che/che-plugin-registry#813
Closed
4 of 14 tasks

ruby plugin fails to start: can't find solargraph #18871

sunix opened this issue Jan 24, 2021 · 1 comment · Fixed by eclipse-che/che-plugin-registry#813
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@sunix
Copy link
Contributor

sunix commented Jan 24, 2021

Describe the bug

The ruby plugin fails to start: it can't find solargraph although it is installed in the sidecar.

Che version

  • latest 7.24.0

Steps to reproduce

  1. Start a devfile with the plugin installed. and a hello world ruby sample.
  2. Open a .rb file. It is asking to install solargraph.
  3. Click install is asking again to install

Expected behavior

Should work out of the box as solargraph is installed in the sidecar.
See https://github.com/eclipse/che-plugin-registry/blob/master/sidecars/ruby/Dockerfile#L22

Screenshots

Selection_172

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify

Eclipse Che Logs

Additional context

@sunix sunix added the kind/bug Outline of a bug - must adhere to the bug report template. label Jan 24, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 24, 2021
@sunix
Copy link
Contributor Author

sunix commented Jan 24, 2021

eclipse-che/che-plugin-registry#596 (comment)

  • Following settings must be configured in settings.json, I don't know if there is any way to do this automatically.
    "solargraph.bundlerPath": "/usr/local/bin/bundle", "solargraph.commandPath": "/usr/local/bundle/bin/solargraph",

I can apply the same trick done in the asciidoc plugin: #17975 (comment)

@amisevsk amisevsk removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants