gem: command not found
问题 I have bash file which build gem files and launch my program: cd /src/stackify-api rm *.gem gem build stackify.gemspec gem install stackify-0.1.0.gem cd /src/stackify-classificator rm *.gem gem build stackify-classificator.gemspec gem install stackify-classificator-0.1.1.gem cd /src/bin ruby console-task.rb I use it in the docker container. It works fine if I launch the container interactively and run this bash-file manually: ~ » docker run -it -v /mnt/lacie/online/btsync/development:/src