Raspberry Pi Zero 2 W Installation Fail

Hi folks. Trying to compile Ruby 3.0.2 onto this new piece of hardware. Documentation installation fails and I don’t know how to get around this. The sudo make install has no option to not install documentation, so I’m now stuck.

make[1]: Leaving directory '/home/rich/rfs/temp/ruby-3.0.2'
Generating RDoc documentation
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:43:in `<top (required)>': uninitialized constant Gem::BasicSpecification (NameError)
	from /home/rich/rfs/temp/ruby-3.0.2/lib/rubygems.rb:1348:in `require'
	from /home/rich/rfs/temp/ruby-3.0.2/lib/rubygems.rb:1348:in `<top (required)>'
	from /home/rich/rfs/temp/ruby-3.0.2/lib/rdoc/rdoc.rb:561:in `require'
	from /home/rich/rfs/temp/ruby-3.0.2/lib/rdoc/rdoc.rb:561:in `<top (required)>'
	from ./libexec/rdoc:16:in `require'
	from ./libexec/rdoc:16:in `<main>'
make: *** [uncommon.mk:567: rdoc] Error 1

Anybody know how to get this installation completed? Any insight appreciated. Cheers

Solved.

Fixed itself somehow. Didn’t change anything. Just tried again.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs