Search code examples
ruby-on-railsrubyruby-on-rails-3.1ruby-on-rails-4redmine

How to modify the gemfile? (marshal data too short)


I'm trying to install rails but I get a "marshal data too short" error. I read in this question ( bundle update fails : marshal data too short ) that I can update the Gemfile to make it work.

My problem is that I really have no idea how to modify this "Gemfile".

Thx.


Solution

  • Damn, it was so simple... to update the gemfile, you only got to execute these two command lines:

    gem source -r https://rubygems.org/
    gem source -a http://rubygems.org/
    

    Then you can execute your installation normally:

    gem install rails