https://github.com/overbryd/bundler-issue-4697
https://github.com/overbryd/bundler-issue-4697
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/overbryd/bundler-issue-4697
- Owner: Overbryd
- Created: 2016-06-22T20:45:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-22T22:41:55.000Z (over 9 years ago)
- Last Synced: 2025-02-02T08:17:41.641Z (10 months ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repo contains a reproduction of https://github.com/bundler/bundler/issues/4697
# Steps to reproduce (Mac OSX)
# install stuff to get a docker image built and running
$ brew install caskroom/cask/brew-cask
$ brew cask install virtualbox
$ brew install docker docker-machine
$ docker-machine create --driver virtualbox default
$ eval "$(docker-machine env default)"
# build the provided Dockerfile
$ docker build -t bundler-issue-4697 .
# enter a bash console of the image
$ docker run -ti bundler-issue-4697
# now within the docker image
> bundle exec rake -vT
bundler: failed to load command: rake (/home/app/gems/bin/rake)
LoadError: cannot load such file -- /usr/lib/ruby/gems/2.3.0/gems/rake-10.4.2/bin/rake
/home/app/gems/bin/rake:22:in `load'
/home/app/gems/bin/rake:22:in `'
> bundle config path
Settings for `path` in order of priority. The top value will be used
Set for the current user (/home/app/.bundle/config): "/home/app/gems"
> ls -lah /home/app/gems/gems/
total 12
drwxr-sr-x 3 app app 4.0K Jun 22 20:37 .
drwxr-sr-x 9 app app 4.0K Jun 22 20:37 ..
drwxr-sr-x 7 app app 4.0K Jun 22 20:37 rake-10.4.2