Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 247
Narendra Rajput Avatar asked May 05 '12 07:05

Narendra Rajput


1 Answers

You probably need to use the bundle exec in this way

bundle exec rake install

This might just solve you problem.

like image 160
Viren Rajput Avatar answered Nov 15 '22 13:11

Viren Rajput