You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really hoping that it's something stupid that I'm doing.
Ubuntu 17.10, fresh rvm install.
Description
"gem install bundler" fails under ruby-1.8.7. comes up with the message
ERROR: While executing gem ... (RuntimeError)
Marshal.load reentered at marshal_load
Steps to reproduce
install ruby-1.8.7-head
cd into directory that uses ruby-1.8.7-head in .ruby-version
"gem install bundler"
ERROR: While executing gem ... (RuntimeError)
Marshal.load reentered at marshal_load
Expected behaviour
bundler should be installed
This doesn't happen with ruby 1.9.3 on the same machine (different project) and doesn't go wrong on a machine that has this version of ruby installed on already:
chrisr@chrisr-Latitude-E6530:$ mkdir new
chrisr@chrisr-Latitude-E6530:$ echo "ruby-1.8.7-head" > new/.ruby-version
chrisr@chrisr-Latitude-E6530:$ echo "testme" > new/.ruby-gemset
chrisr@chrisr-Latitude-E6530:$ cd new
ruby-1.8.7-head - #gemset created /home/chrisr/.rvm/gems/ruby-1.8.7-head@testme
ruby-1.8.7-head - #generating testme wrappers..............
chrisr@chrisr-Latitude-E6530:~/new$ gem install bundler
Fetching: bundler-1.16.1.gem (100%)
Successfully installed bundler-1.16.1
1 gem installed
Installing ri documentation for bundler-1.16.1...
Installing RDoc documentation for bundler-1.16.1...
Actual behaviour
jadams@EID-4546:$ mkdir new
jadams@EID-4546:$ echo "ruby-1.8.7-head" > new/.ruby-version
jadams@EID-4546:$ echo "testme" > new/.ruby-gemset
jadams@EID-4546:$ cd new
ruby-1.8.7-head - #gemset created /Users/jadams/.rvm/gems/ruby-1.8.7-head@testme
ruby-1.8.7-head - #generating testme wrappers...............
jadams@EID-4546:~/new$ gem install bundler
ERROR: While executing gem ... (RuntimeError)
Marshal.load reentered at marshal_load
then, once it's installed, and I'm in my project, I can sometimes get gem to install bundler ... (same command run 3 times in quick succession, with no other changes):
jadams@EID-4546:/ruby/loan$ gem install bundler -v 1.16.1
ERROR: While executing gem ... (RuntimeError)
Marshal.load reentered at marshal_load
jadams@EID-4546:/ruby/loan$ gem install bundler -v 1.16.1
Fetching: bundler-1.16.1.gem (100%)
ERROR: Error installing bundler:
invalid gem: not in gzip format in data.tar.gz
jadams@EID-4546:~/ruby/loan$ gem install bundler -v 1.16.1
Successfully installed bundler-1.16.1
1 gem installed
sometimes, changing my "rubygems" version to a newer version allows it to install, before I reset it back to 1.8.30.
I'm really hoping that it's something stupid that I'm doing.
Ubuntu 17.10, fresh rvm install.
Description
"gem install bundler" fails under ruby-1.8.7. comes up with the message
ERROR: While executing gem ... (RuntimeError)
Marshal.load reentered at marshal_load
Steps to reproduce
ERROR: While executing gem ... (RuntimeError)
Marshal.load reentered at marshal_load
Expected behaviour
bundler should be installed
This doesn't happen with ruby 1.9.3 on the same machine (different project) and doesn't go wrong on a machine that has this version of ruby installed on already:
chrisr@chrisr-Latitude-E6530:
$ mkdir new$ echo "ruby-1.8.7-head" > new/.ruby-versionchrisr@chrisr-Latitude-E6530:
chrisr@chrisr-Latitude-E6530:
$ echo "testme" > new/.ruby-gemset$ cd newchrisr@chrisr-Latitude-E6530:
ruby-1.8.7-head - #gemset created /home/chrisr/.rvm/gems/ruby-1.8.7-head@testme
ruby-1.8.7-head - #generating testme wrappers..............
chrisr@chrisr-Latitude-E6530:~/new$ gem install bundler
Fetching: bundler-1.16.1.gem (100%)
Successfully installed bundler-1.16.1
1 gem installed
Installing ri documentation for bundler-1.16.1...
Installing RDoc documentation for bundler-1.16.1...
Actual behaviour
jadams@EID-4546:
$ mkdir new$ echo "ruby-1.8.7-head" > new/.ruby-versionjadams@EID-4546:
jadams@EID-4546:
$ echo "testme" > new/.ruby-gemset$ cd newjadams@EID-4546:
ruby-1.8.7-head - #gemset created /Users/jadams/.rvm/gems/ruby-1.8.7-head@testme
ruby-1.8.7-head - #generating testme wrappers...............
jadams@EID-4546:~/new$ gem install bundler
ERROR: While executing gem ... (RuntimeError)
Marshal.load reentered at marshal_load
Environment info
rvm info:
https://gist.github.com/jadrevenge/48c15bca6def53dccb1fd2b6f26c9d77
rvm debug:
https://gist.github.com/jadrevenge/c1a6c262721270f3e14aef7f32c17c5d
rvm install 1.8.7-head:
https://gist.github.com/jadrevenge/f33d1805b47dcf086792f54892ade324
The text was updated successfully, but these errors were encountered: