• Register
0 votes
43 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

1 vote
1 answer 3 views
3 views
Problem : I got this error when installing Rubygem : rubygems.rb:289:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException) I have no idea what to do next ?
asked Mar 31 Shovo210 13.2k points
0 votes
1 answer 24 views
24 views
Problem: getaddrinfo: nodename nor servname provided, or not known.
asked Feb 24 Dan phillip 4.7k points
0 votes
1 answer 16 views
16 views
Problem: Any ideas on what I need to do to fix this? Thanks!
asked Mar 7 Rohit kr 15k points
0 votes
1 answer 104 views
104 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
1 answer 30 views
30 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 380 points
0 votes
1 answer 4 views
4 views
Problem: I have a prblem that i am unable to find the sources of your current linux kernel can anybody solve this issue.
asked Mar 22 waseem memon 2.4k points
0 votes
1 answer 2 views
2 views
Problem: I need help: What is the difference between Ruby and Ruby on Rails?
asked Mar 19 Wafa Abu Yousef 6.1k points
0 votes
2 answers 52 views
0 votes
1 answer 49 views
49 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 380 points