• Register
0 votes
37 views

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

Please log in or register to answer this question.

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
bundle
9 7 4
38,600 points

Related questions

0 votes
1 answer 9 views
9 views
Problem: Hello Kodlogs, I tried running this command on my app $ Heroku run bash ~$ rails c But it didn't come out well as this error was displayed Could not find rake-12.0.0 in any of the sources Run bundle installs to install missing gems.
asked Dec 27, 2020 Festus James 360 points
0 votes
1 answer 57 views
57 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 32 views
0 votes
1 answer 10 views
10 views
Problem: Hello Kodlogs, I encountered a strange issue where vagrant works fine for a while and it completely stops working unexpectedly. Afterward, any of the vagrant commands I run just give me this error: "exec error: exec: "ruby": executable file not found in %PATH%"
asked Dec 29, 2020 Festus James 360 points
0 votes
1 answer 35 views
35 views
Problem: Hello Kodlogs, Playing my way around with this code contact_list = [ {"name" => "jack", "phone_number" => "6789"}, {"name" => "Tracy", "phone_number" => "2345"} ] contact_list.each do |contact| puts "Contact: #{contact_list["name"]} and ... : #{contact_list["phone_number"]}" end It returns: no implicit conversion of String into Integer (TypeError) How do I correct this I'm confused?
asked Nov 8, 2020 Festus James 360 points
0 votes
1 answer 15 views
15 views
Problem: Hello Kodlogs, I am working on a program that runs more on control expressions and I got a surprised error of this nature: syntax error, unexpected end-of-input, expecting keyword_end Can you help me out?
asked Nov 4, 2020 Festus James 360 points
0 votes
2 answers 483 views
483 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