rake-compiler / rake-compiler-dock

Easy to use and reliable cross compiler environment for building Windows, Linux, Mac and JRuby binary gems.
MIT License
78 stars 30 forks source link

Mounting the current directory only works below c:\Users or /Users on Windows or OS-X #7

Closed larskanis closed 8 years ago

larskanis commented 8 years ago

rake-compiler-dock mounts the current working directory into the docker container. This however only works for directories below c:\Users or /Users on Windows or OS-X. This is because docker-machine or boot2docker only map this directory by default. See https://github.com/boot2docker/boot2docker/blob/master/README.md#virtualbox-guest-additions

So, if rake-compiler-dock makes use of docker-machine or boot2docker, it should either check, that the path is below Users or it should add this path per VirtualBox Guest Addtitions.

larskanis commented 8 years ago

This is fixed with https://github.com/rake-compiler/rake-compiler-dock/commit/585008382e95fd4eeb03a9dec2a21c753718b947 .