Traceback (most recent call last):
5: from <internal:gem_prelude>:1:in `<internal:gem_prelude>'
4: from <internal:gem_prelude>:1:in `require'
3: from /usr/lib/ruby/vendor_ruby/rubygems.rb:1348:in `<top (required)>'
2: from /usr/lib/ruby/vendor_ruby/rubygems.rb:1348:in `require'
1: from /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:49:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:50:in `<class:Specification>': undefined method `rubyforge_project=' for class `Gem::Specification' (NameError)
답변1
다음 명령을 시도해 보십시오.
apt install ruby zlib1g-dev libpq-dev libpcap0.8-dev libsqlite3-dev
문제를 해결해야합니다. 운영 체제에 Ruby가 이미 설치되어 있는지 확인할 수 있나요?