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

Ensuring executable command doesn't point to a directory #73

Merged
merged 1 commit into from
Apr 29, 2014

Conversation

clouseauu
Copy link
Contributor

Ensuring executable command is not only executable as per Ruby's File class but also an actual file (and not a directory). My bower:update rake task was failing because it was pointing to the bower directory in one of my exec paths and not to the actual executable file. Turns out File.executable? returns true for directories too if they have the right permissions.

… class but also an actual file (and not a directory)
@SergeyKishenin
Copy link
Collaborator

Thanks. Could you please update changelog?

SergeyKishenin added a commit that referenced this pull request Apr 29, 2014
Ensuring executable command doesn't point to a directory
@SergeyKishenin SergeyKishenin merged commit 48df822 into rharriso:master Apr 29, 2014
SergeyKishenin added a commit that referenced this pull request Apr 29, 2014
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

Successfully merging this pull request may close these issues.

2 participants