imathis/octopress — Issue #358: Having issue with some rake commands on windows
Author: bcomnes
Created: 2012-01-08 00:16:09+00:00
State: open

I am trying to set up my Windows 7 PC to work with my octopress install that I established on a mac. Everything mostly works. Some of the rake commands are giving me issues though. Rake generate, deploy and preview all work. Rake new-page ["title"] does not. Here is the output of the error:

```
Bret@BRET-PC ~/Docs/bcomnes.github.com (source)
$ rake new-post ["test"]
(in c:/Users/Bret/Docs/bcomnes.github.com)
rake aborted!
Don't know how to build task 'new-post'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:1720:in `[]'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:2040:in `invoke_task'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in top_level'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `each'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
c:/ruby/Ruby192/lib/ruby/1.9.1/rake.rb:1992:in `run'
c:/ruby/Ruby192/bin/rake:31:in `

'
```
I'm guess its a combination of not configuring ruby correctly on windows and the possibility that something is written in a way that is incomparable with a windows environment. Does anyone have any ideas on what is causing this and where I could look to fix it?