-
Notifications
You must be signed in to change notification settings - Fork 145
Failed to load a language-ruby package grammar - RHEL 7.7 #279
Comments
I'm also seeing this, same specs as above but I'm using Mint 18. |
Have exactly the same issue (RedHat 7.7, Atom 1.41.0) |
Same problem on CentOS 7.7 for Atom 1.41.0 x64 |
Same, needed to disable the package. |
Same problem in Ubuntu 14.04 LTS too. I have disabled the package as a temporary workaround. |
Same issue in Atom 1.42.0 x64 on Ubuntu 14.04 LTS with KDE desktop. Disabling Ruby packages fixes it. |
Problem persists into 1.43.0 x64. |
Seen consistently on CentOS 7.7 on Atom 1.43.0 x64. |
+1 CentOS 7 latest on Atom 1.43.0 x64. |
Same here. CentOS 7 for Atom 1.43.0 x64 |
Same here |
Same here. Edit: Just upgraded to Atom 1.44.0 and the error is persisting |
I was able to work around this issue by installing gcc-5.4.0, and then exporting the path to the gcc-5.4.0/lib64 to LD_PATH_LIBRARY |
This did not work for me. I got this error:
|
Same error in atom-1.45.0-0.1.x86_64 |
Same issue on Ubuntu 14.04 LTS |
snlawrence's solution worked for me with Atom 1.47 and CentOS 7.8 You can then do either:
|
Good point! I've added |
I got tired of waiting for the developers to fix this bug. And having to figure out the solution everytime I install atom on a RHEL/CentOS 7 system. So I finally wrote an install script that does it all for me. It's based on what others have posted, but this version will also install atom, and then go onto build gcc 5.4.0 and install it into the #/bin/bash -x
echo "Downloading the atom rpm file..."
curl --location --output atom.x86_64.rpm https://atom.io/download/rpm
echo "Installing the atom rpm file..."
sudo yum -y install atom.x86_64.rpm
echo "Downloading gcc source files..."
curl --location --output gcc-5.4.0.tar.bz2 https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2
echo "Extracting files..."
tar xvfj gcc-5.4.0.tar.bz2
echo "Installing dependencies..."
sudo yum -y install gmp-devel mpfr-devel libmpc-devel gcc-c++
echo "Configure and install..."
cd gcc-5.4.0 && ./configure --enable-languages=c,c++ --disable-multilib --prefix=/opt/gcc-5.4.0 && make -j$(nproc) && sudo make install
echo "Adding the library path to the atom launcher..."
sudo sed -i "11i\ \\nexport LD_LIBRARY_PATH=/opt/gcc-5.4.0/lib64/:\$LD_LIBRARY_PATH\\n" /usr/bin/atom
echo "Cleaning up the build directory..."
cd ../ && rm -rf atom.x86_64.rpm gcc-5.4.0.tar.bz2 gcc-5.4.0
echo "Install complete." |
I don't know if you could launch the 1.52.0 Atom version in Centos 7.8. It doesn't launch anymore after the update. Why do you need to build gcc?! Can't we just use the |
Prerequisites
Description
Failed to load a language-ruby package grammar
Steps to Reproduce
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
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!
The text was updated successfully, but these errors were encountered: