incompatible marshal file format (can't be read)
AlbertMontolio opened this issue · comments
AlbertMontolio commented
When trying to instal factory_bot_rails,
gem install factory_bot_rails
I get following error message:
ERROR: While executing gem ... (TypeError)
incompatible marshal file format (can't be read)
format version 4.8 required; 60.33 given
In the .gemrc file I have following:
---
1 :backtrace: false
2 :bulk_threshold: 1000
3 :sources:
4 - http://gems.rubyforge.org/
5 - http://gems.github.com
6 - https://rubygems.org/
7 :update_sources: true
8 :verbose: true
9 benchmark: false
10 gem: "--no-document"
How can I solve this issue?
Daniel Colson commented
Hm, I have never seen that before. I am able to run gem install factory_bot_rails
without any problems.
I searched for the error message and saw https://stackoverflow.com/questions/54786580/error-while-executing-gem-typeerror-incompatible-marshal-file-format-can Hopefully that helps!
Daniel Colson commented
@AlbertMontolio did you have any luck with this?
AlbertMontolio commented
Yes, the error was somewhere else. Thanks a lot for your time
Daniel Colson commented
I'm glad it worked out. I'm going to close this issue now.