Closed znz closed 3 years ago
@znz Thanks.
I fixed it 201 revision. Can you try with 201?
ubuntu@primary:~$ head -1 /snap/ruby/201/bin/bundle
#!/snap/ruby/current/bin/ruby
201's bundle failed with another error.
vagrant@buster:~$ bundle init
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:43:in `<top (required)>': uninitialized constant Gem::BasicSpecification (NameError)
from /snap/ruby/201/lib/ruby/3.0.0/rubygems.rb:1348:in `require'
from /snap/ruby/201/lib/ruby/3.0.0/rubygems.rb:1348:in `<top (required)>'
from <internal:gem_prelude>:2:in `require'
from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
It seems mixed with rubygems provided debian package.
After export DEBIAN_DISABLE_RUBYGEMS_INTEGRATION=true
and bundle install
again, it resolved. thanks.
It's nice to add DEBIAN_DISABLE_RUBYGEMS_INTEGRATION=1
to wrapper files of snap package, I think.
bundle
of snap ruby 3.0.0 2020-12-26 (200) does not work.The shebang may be wrong.