ratan
ratan

Reputation: 395

RubyGem version error: rack(1.0.0 not ~> 1.0.1)

I was working on a rails project on my laptop and pushing code to github. Now I cloned the project on my desktop.

when running:

rake db:migrate

I get the following error:

rake aborted!
RubyGem version error: rack(1.0.0 not ~> 1.0.1)

(See full trace by running task with --trace)

Before this error I had to run the following commands:

sudo gem install -v=2.3.5 rails
sudo gem update rack

Upvotes: 3

Views: 2875

Answers (1)

Alex Reisner
Alex Reisner

Reputation: 29427

sudo gem install -v 1.0.1 rack

Upvotes: 6

Related Questions