modess / git-pretty-stats

Self hosted graphs for Git repositories in PHP
Other
142 stars 24 forks source link

[Windows] Something went wrong... #5

Closed jupazave closed 9 years ago

jupazave commented 10 years ago

Probably my mistake but when installing i'm getting this error after the composer installation:

Something went wrong...

"C:\Program" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.

The String is in spanish, but it shows up when in CMD you try ty to run a folder as a command.

I try to search in all the folder if I found the rout but I did not have luck.

modess commented 10 years ago

The tool has not been tested in a Windows environment and I don't have access to one.

Perhaps if you provide your setup someone can help you with it. Like Windows version, webserver software, the steps you followed to install in, etc.

jupazave commented 10 years ago

I'm working with Windows 7 using XAMPP as Apache server. For the installation I made the one that is in the README: Clone, Cpmposer, config.

sileclercq commented 10 years ago

i got the same error : I fixed it this way : it was because of where the git installation is. For me it was in C:\Program Files\Git and I have to copy it under a folder with no space on it (like c:\git) and added this path to the PATH environment variable and that was it

Casmo commented 9 years ago

Here is a dirty fix: Change getPath() in /vendor/klaussilveira/gitter/lib/Gitter/Client.php to

protected function getPath()
{
   return '"'. $this->path .'"';
}

Tested in Xampp on Windows 7.

modess commented 9 years ago

If that solves it, you could open a PR for Gitter: https://github.com/klaussilveira/gitter