Open joshco opened 9 years ago
FYI, I installed ru2 on Windows 10 using Git Bash, and it seems to have worked fine:
wayne MINGW64 ~$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [i386-mingw32]
wayne MINGW64 ~$ gem install ru2
Successfully installed ru2-2.1.4
Parsing documentation for ru2-2.1.4
Installing ri documentation for ru2-2.1.4
Done installing documentation for ru2 after 1 seconds
1 gem installed
wayne MINGW64 ~$ which ru
/c/Ruby231/bin/ru
wayne MINGW64 ~$ printf "2\n3" | ru 'map(:to_i).sum'
5
When installing the gem, it does not copy the executable into ruby/bin, nor does it create a bat file. I manually copied the executable into ruby bin
I needed to change the line
to
Are you doing something clever with where you expect the executable to be?