Closed phil294 closed 2 years ago
It looks like the problem is the platform being identified as x64-unknown
when trying to install nokogiri. Something like gem install nokogiri --platform=ruby
might help. More info: https://nokogiri.org/tutorials/installing_nokogiri.html
this did not help, the platform has consistently been detected as x64-unknown
. No idea why.
But you did point me into the right direction: I solved it with
apt-get install -y ruby-nokogiri && gem install solargraph
.
Thanks!
I am facing same issue while installing -
gem install solargraph
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.1-x64-unknown.gemspec.rz)
Current ruby version is - ruby-2.5.9
This is my Dockerfile:
This is the output:
Any idea what's going on? I just wanted to program something in Ruby for once :(