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

Cant get drush running #15

Closed
farald opened this Issue Jan 7, 2012 · 7 comments

Comments

Projects
None yet
3 participants
@farald

farald commented Jan 7, 2012

Hey!
and thanks for this awesome tool! It has revolutionized my workdays!

Only thing not working is Drush integration.

I am using Tool version 2.0.8 & Netbeans 2.08 (Ubuntu 11.10)
I get an error that drush is not found, first at startup, then every time I start up Netbeans.
. Drush's name in my install is simply drush.
Catalog is st to /usr/bin, and /usr/bin/drush has chmod 777.
Also tried $HOME/bin/drush, but that didnt work either.

If I get this working, it would be supergreat!

By the way, Hollyit is down:)

@HollyIT

This comment has been minimized.

Collaborator

HollyIT commented Jan 7, 2012

Thanks for the headsup on my site!

Did you set the Drush path in Tools->Options->Php->Drupal Location of Drush field?

@farald

This comment has been minimized.

farald commented Jan 7, 2012

Greetings, thanks for the response! Yes, I did.

Ive also played around a little with perms, running netbeans as root etc.
But it seems that netbeans cannot find it, even if its there, and its working perfectly elsewhere.

Correct me if(where) Im wrong:

  • The path is to the executable "drush"'s folder?
  • The drush executable that its looking for is not called "drush.exe", or similar?
  • The path should not end with a slash?
  • So when /usr/bin/drush works in terminal, setting "Location of Drush field" to /usr/bin should do it?

It simply says invalid drush path under the field, no matter what.
Its really weird, have googled me blind trying to figure it out.

@farald farald closed this Jan 7, 2012

@farald farald reopened this Jan 7, 2012

@HollyIT

This comment has been minimized.

Collaborator

HollyIT commented Jan 7, 2012

You need to supply the actual folder Drush is in. /usr/bin wouldn't be that, but rather a link to the drush shell script located inside of the folder. If you have locate installed, you can do a 'locate drush.php' to find the folder, as drush.php is what the plugin checks for to see if you've selected the proper folder or not.

@farald

This comment has been minimized.

farald commented Jan 8, 2012

There, got it working! Thanks for the help!

@farald farald closed this Jan 8, 2012

@AlexAndrascu

This comment has been minimized.

AlexAndrascu commented Jul 12, 2012

I think this needs to be documented in the readme

@HollyIT

This comment has been minimized.

Collaborator

HollyIT commented Jul 13, 2012

Thanks. I added a note about it to the top of the readme file.

@AlexAndrascu

This comment has been minimized.

AlexAndrascu commented Jul 13, 2012

Awsome. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment