travis.rb icon indicating copy to clipboard operation
travis.rb copied to clipboard

Unable to run any command

Open cmccandless opened this issue 7 years ago • 3 comments

OS: Windows 7 Ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32]

>gem install travis -v 1.8.8 --no-rdoc --no-ri
Fetching: travis-1.8.8.gem (100%)
Successfully installed travis-1.8.8
1 gem installed

>travis version
Code execution.

Any travis command produce the same output and performs no other observable actions.

cmccandless avatar Feb 23 '18 15:02 cmccandless

For anyone coming across this, I had a travis executable in a Python virtualenv. Using which travis and rm $(which travis) && bash fixed it.

cmattoon avatar Jul 23 '18 05:07 cmattoon

Unfortunately, I wasn't using virtualenv or anything similar. However, as I no longer have access to the machine that produces this behavior, and I cannot reproduce on my current machine, I'm afraid I won't be able to provide much more information or test potential fixes.

On Jul 23, 2018, 01:40, at 01:40, Curtis Mattoon [email protected] wrote:

For anyone coming across this, I had a travis executable in a Python virtualenv. Using which travis and rm $(which travis) && bash fixed it.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/travis-ci/travis.rb/issues/582#issuecomment-406945091

cmccandless avatar Jul 23 '18 10:07 cmccandless

I got the same problem in ubuntu 16.04 and anaconda3 for python3.7

xiuliren avatar Aug 17 '19 01:08 xiuliren