ashamed to say, i got home decided to follow a tutorial and got stuck very early on. I'm running rails 3.1.1 on windows and attempting the tut from http://guides.rubyonrails.org/getting_started.html
If you look at 4.2 it tells us to run a command: $ rm public/index.html
- which in windows i think is just in cmd type cd blog
and then its just erase public/index.html
But i get the error returned: Invalid Switch "index.html".
Anyone who can shed some light i would be much appreciative. I can't beleive im stuck already!
Thanks M
Your problem is that in windows you have to use backslash instead of slash in unix-like systems. Use erase public\\index.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.