• Register
0 votes

Problem :

I have created a project on my old laptop using rails and heroku. I am trying to access the files and push the new edits to heroku on my laptop. Luckily they are all saved on Git so I can clone the git repository onto my new laptop.

My new  laptop had no previous softwares on it so I installed ruby and rails and there versions were fine but when I try to bundle install when the folder is open in command prompt I get the following error "The checkum of /versions does not match the checksum provided by server! Something is wrong".

Also when I try the rails -v i get the following error message "You do not have [insert gem name] try running bundle install" So I tried to install the new gem and still I am getting the same error.

This has become the nightmare for me and I just want to find a correct way to install ruby and rails so that above mentioned errors will get out the way.

6 5 3
7,540 points

1 Answer

0 votes

Solution :

Please try following Approach. I also had the similar problem in the past.

Please run following commands:

gem uninstall bundler

If that does not work for you try--force at the end of the command as follows:

gem uninstall bundler--force 

After that reinstall the bundler using following command :

gem install bundler
9 7 4
38,600 points

Related questions

0 votes
1 answer 41 views
Problem : I am trying to execute the below script: gem install rdoc --no-document gem install bundle bundle I have already added /srv/myuser/.gem/ruby/2.5.0/bin to the path so I was able to install the gems. I can also find the bundle when I try to perform: ... appears while executing below commands : gem list bundle shows bundle (0.0.1) bundler (2.0.1) Does anyone have any solution on my issue?
asked Dec 21, 2019 alecxe 7.5k points
0 votes
2 answers 366 views
Problem : I am facing following AWS error the authorization mechanism you have provided is not supported. please use aws4-hmac-sha256.
asked Nov 16, 2019 peterlaw 6.9k points