This forum is no longer active. Please post your questions to our new community site
Problem with git on RubyStack vm
|
|
Hello I have a problem with git on RubyStack virtual machine. I performed the following steps: - firstly setup the remote repository on my RubyStack vm:
- on my local Windows XP machine: $ cd my_project Git successfully connected to root@192.168.1.2 and requested to enter the password for the root user. I entered the correct password and after that received the following error message: git: ‘projects/test/.git’ is not a git-command. See ‘git –help’ ssh works fine, I can connect to vm using Putty without problems. Please help to solve this problem. |
|
|
Hi, Can you please try to add ‘git’ command to the PATH environment variable inside /root/.bashrc: PATH=/opt/bitnami/git/bin:$PATH or just insert the following snippet to the same file: . /opt/bitnami/scripts/setenv.sh Let me know if this works for you. Cheers. |
|
|
Thank you for your reply! The path to /opt/bitnami/git/bin included in the PATH variable by #!/bin/sh After that the problem has been solved !!! Please add this path into the PATH variable by default |
|
|
Thanks for reporting this issue. We will fix it for the new version of RubyStack. |
|
|
I’m running the latest VMWare image with ubuntu but I’m running the same issue. HTH |
|
|
Hi, Sorry we did not release the new version yet, we are working to add new features. We will try to release soon. You can fix the issue with the danoo and ratnik solutions. |
|
|
You can also call git directly until this is fixed /opt/rubystack-2.1-0/git/bin/git |
|
|
Right, we will release a new version soon. |

