Posts Tagged ‘command line’

“Pik install” command downloads and extracts a Ruby version, but: “Couldn’t find a Ruby version at <path>”

Tuesday, April 12th, 2011

I had this issue several times up to the point I was unable to install any Ruby version.  Then I went looking in the

C:\Users\Pascal\.pik\downloads

directory and found several .7x files with file size = 0 from failed previous installs.

Delete those, and you’re able to install the corresponding Ruby versions again…

sh.exe “command not found” for an installed gem (while using pik and msysgit on Windows)

Wednesday, March 16th, 2011

Just for the people googling this problem…  If you have installed a gem and the promised command does not work (in my case: “annotate” after installing the Annotate gem), try:

bundle exec annotate

That way, you force a lookup in the bundled gems rather than the system gems.