This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Failed to load a language-ruby package grammar - RHEL 7.7 #279
Copy link
Copy link
Open
Description
Prerequisites
- [X ] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Failed to load a language-ruby package grammar
Steps to Reproduce
- Be on RHEL 7.7 with Atom installed from Atom repo (currently atom.x86_64 0:1.41.0-0.1)
- Launch Atom
- See error about grammar not loading
Expected behavior:
No error.
Actual behavior:
[Enter steps to reproduce:]
Atom: 1.41.0 x64
Electron: 4.2.7
OS: "Red Hat
Thrown From: language-ruby package 0.72.20
User: root
Stack Trace
Failed to load a language-ruby package grammar
At /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-ruby/build/Release/tree_sitter_ruby_binding.node) in /usr/share/atom/resources/app.asar/node_modules/language-ruby/grammars/tree-sitter-ruby.json
Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-ruby/build/Release/tree_sitter_ruby_binding.node)
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
at Module.load (internal/modules/cjs/loader.js:602:32)
at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
at Function.Module._load (internal/modules/cjs/loader.js:533:3)
at Module.require (/app.asar/static/index.js:72:46)
at require (/usr/share/atom/resources/app/static/<embedded>:11:146745)
at /app.asar/node_modules/tree-sitter-ruby/index.js:2:20)
at /app.asar/node_modules/tree-sitter-ruby/index.js:15:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147429)
at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:150977)
at Module.load (internal/modules/cjs/loader.js:602:32)
at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
at Function.Module._load (internal/modules/cjs/loader.js:533:3)
at Module.require (/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:20:18)
at customRequire (/usr/share/atom/resources/app/static/<embedded>:1:688211)
at new TreeSitterGrammar (/usr/share/atom/resources/app/static/<embedded>:11:3128927)
at GrammarRegistry.createGrammar (/usr/share/atom/resources/app/static/<embedded>:11:360047)
at l.readFile (/usr/share/atom/resources/app/static/<embedded>:11:359888)
at u (/usr/share/atom/resources/app/static/<embedded>:11:580631)
at /usr/share/atom/resources/app/static/<embedded>:11:581884
at fs.read.error (ELECTRON_ASAR.js:573:9)
at FSReqWrap.wrapper [as oncomplete] (fs.js:460:17)
at /app.asar/node_modules/language-ruby/grammars/tree-sitter-ruby.json:1:1
Commands
Non-Core Packages
Reproduces how often:
100%
Versions
Atom : 1.41.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
yum updates are current for Atom repo and EPEL and system repos.
Thanks!
alexisfrjp, i3v, smumey, WalterS and carterbox
Metadata
Metadata
Assignees
Labels
No labels