vasile / GTFS-viz

Converts a GTFS dataset into a SQLite DB + GeoJSONs / KMLs
MIT License
86 stars 21 forks source link

Rake -T command failed with status (127) #4

Closed MentatGhola closed 9 years ago

MentatGhola commented 10 years ago

HI, I get an error running rake -T.(ruby 1.9.3 on Windows 7 64bit) cp C:/Apps/GTFS-viz-master/inc/templates/ft_login.template.rb C:/Apps/GTFS-viz-m aster/inc/ft_login.rb rake aborted! Command failed with status (127): [cp C:/Apps/GTFS-viz-master/inc/templates/f... ] C:/Apps/GTFS-viz-master/Rakefile:38:in `<top (required)>' (See full trace by running task with --trace)

I know nothing about ruby. But what I figured out so far is that on line 38 the rakefile is trying to execute a bash command. Since I am running windows I get the command failed error.

MentatGhola commented 10 years ago

I found a simple solution that works but runs into the same error on line 50 in the rakefile. The easy solution is just for me to install and run this on my linux machine. Possible work around for windows users: rewrite the rakefile, install Cygwin or UnxUtils.

vasile commented 9 years ago

Thank you for reporting @MentatGhola, feel free to open a Pull Request with a Windows patch, I will close for now on this issue.