Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brackets git plugin can't find git #9

Open
bevinhex opened this issue Nov 3, 2015 · 3 comments
Open

brackets git plugin can't find git #9

bevinhex opened this issue Nov 3, 2015 · 3 comments

Comments

@bevinhex
Copy link

bevinhex commented Nov 3, 2015

I wanted to build a development environment for our team , here is the idea, I installed openshift on our server, which holds our applications, and exposes ssh based git link, then I will install brackets-server some other place , and run.

Expected results would be, when I open brackets on browser, I would be opening a remote IDE, then I would use it's git plugin to pull source code from openshift server, then I use a remote terminal(maybe I have to write a plugin for brackets) to build my code where brackets is served, This way I don't have to configure the development everywhere, everyone would be developing online, and building on one machine, which serving brackets, when I push code to openshift, I can open the domain name openshift gave me.

But now, I can use git plugin with local brackets, but unable to use it in online version, it says unable to find "/usr/bin/git", something like that, well I do have up to date git installed already, everything working find.

Do you have any idea what's causing it? how do we solve it?

@rabchev
Copy link
Owner

rabchev commented Nov 4, 2015

I assume you are talking about Martin Zagora's Git plugin. I have tested it
long time ago and it used to work. It is possible that something has
changed since than. Unfortunately lately I don't have time to pay attention
to this project.

I won't be able to test it now, but here are a few things you could check:

  • Make sure you have Git installed on the server running brackets-server.
  • Make sure Git executable or symlink to it is in "/usr/bin" directory.
    I believe adding it to your PATH variable should also work.
  • Make sure you start brackets-server with -d option.
  • Try starting brackets-server process with root privileges, just to see
    if this is solving something. In production you should never be running it
    with root.

Let me know how it goes.

-Boyan

On Tue, 3 Nov 2015 at 12:14 bevinhex notifications@github.com wrote:

I wanted to build a development environment for our team , here is the
idea, I installed openshift on our server, which holds our applications,
and exposes ssh based git link, then I will install brackets-server some
other place , and run.

Expected results would be, when I open brackets on browser, I would be
opening a remote IDE, then I would use it's git plugin to pull source code
from openshift server, then I use a remote terminal(maybe I have to write a
plugin for brackets) to build my code where brackets is served, This way I
don't have to configure the development everywhere, everyone would be
developing online, and building on one machine, which serving brackets,
when I push code to openshift, I can open the domain name openshift gave me.

But now, I can use git plugin with local brackets, but unable to use it in
online version, it says unable to find "/usr/bin/git", something like that,
well I do have up to date git installed already, everything working find.

Do you have any idea what's causing it? how do we solve it?


Reply to this email directly or view it on GitHub
#9.

@bevinhex
Copy link
Author

bevinhex commented Nov 4, 2015

 I've checked everything you said, but today I got other errors saying something like "unable to connect to NodeJS" when I hit the git plugin button, It was really good idea to turn brackets into a cloud IDE, but after googling for a while, there is other open source cloud IDE's for pretty much the same thing, for the moment cloud9 looks promising, now trying to figure out how to develop git and other plugins to automate our development process.
 Thanks for the reply

@rabchev
Copy link
Owner

rabchev commented Nov 5, 2015

You also need NodeJS installed because this extension uses it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants