Narendra Rajput
Narendra Rajput

Reputation: 711

Rake aborted ! Issue installing Octopress

I m trying to install the Octopress on my windows. As per their Tutorial on their website. But when I type the command

rake install 

It 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 it doing 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 & Gems installed on my PC. But I m not able to figure out how to solve this issue. How do I even use the "bundle exec" to install Octopress ?

Upvotes: 6

Views: 1933

Answers (4)

Robin Hwang
Robin Hwang

Reputation: 189

I solve this with bundle update
it's a dependency problem and not big deal

Upvotes: 2

Madhukarah
Madhukarah

Reputation: 59

First update the documentation to say,

bundle exec rake install

Then update the Gemfile.lock with,

bundle update

Upvotes: 0

Peter Bennett
Peter Bennett

Reputation: 31

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

Upvotes: 0

Viren Rajput
Viren Rajput

Reputation: 5746

You probably need to use the bundle exec in this way

bundle exec rake install

This might just solve you problem.

Upvotes: 8

Related Questions