The rake broke off! Octopress Installation Error

I am trying to install Octopress on my windows. According to their tutorial on the website. But when I type a team

rake install 

This gives me the following error

 C:\Documents and Settings\admin\octopress>rake install rake aborted! You have already activated rake 0.9.2.2, but your Gemfile requires rake 0.9.2. U sing bundle exec may solve this. (See full trace by running task with --trace) 

And as the error says, I need to install rake 0.9.2. I tried to do this with the following command.

 C:\Documents and Settings\admin\octopress>gem install rack -v=0.9.2.0 ERROR: Could not find a valid gem 'rack' (= 0.9.2.0) in any repository ERROR: Possible alternatives: rack 

I already have Ruby and Gems installed on my PC. But I can’t figure out how to solve this problem. How can I use "bundle exec" to install Octopress?

+6
source share
4 answers

You probably need to use the bundle package

 bundle exec rake install 

This may solve your problem.

+8
source

I solve this with bundle update
this is a dependency problem and not a big deal

+2
source

The first time you rake it, and the second time you rack it

0
source

Update the documentation first to say:

 bundle exec rake install 

Then update Gemfile.lock with

 bundle update 
0
source

Source: https://habr.com/ru/post/914954/


All Articles