{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1029","labels_url":"https://api.github.com/repos/docker/compose/issues/1029/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1029/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1029/events","html_url":"https://github.com/docker/compose/issues/1029","id":59083233,"number":1029,"title":"Could not locate Gemfile","user":{"login":"jandudulski","id":153103,"avatar_url":"https://avatars.githubusercontent.com/u/153103?v=3","gravatar_id":"","url":"https://api.github.com/users/jandudulski","html_url":"https://github.com/jandudulski","followers_url":"https://api.github.com/users/jandudulski/followers","following_url":"https://api.github.com/users/jandudulski/following{/other_user}","gists_url":"https://api.github.com/users/jandudulski/gists{/gist_id}","starred_url":"https://api.github.com/users/jandudulski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandudulski/subscriptions","organizations_url":"https://api.github.com/users/jandudulski/orgs","repos_url":"https://api.github.com/users/jandudulski/repos","events_url":"https://api.github.com/users/jandudulski/events{/privacy}","received_events_url":"https://api.github.com/users/jandudulski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-26T14:51:55Z","updated_at":"2015-02-26T14:51:55Z","closed_at":null,"body":"I'm stuck. I've got simple rails app with such Dockerfile:\r\n\r\n```\r\nFROM ruby:2.2.0\r\n\r\nRUN apt-get update -qq && apt-get install -y build-essential\r\n\r\nRUN apt-get install -y libpq-dev\r\n\r\nRUN apt-get install -y libxml2-dev libxslt1-dev\r\n\r\nRUN apt-get install -y libqt4-webkit libqt4-dev xvfb\r\n\r\nRUN apt-get install -y nodejs\r\n\r\nRUN mkdir /app\r\nWORKDIR /app\r\n\r\nADD Gemfile /app/Gemfile\r\nADD Gemfile.lock /app/Gemfile.lock\r\nRUN bundle install\r\n\r\nADD . /app\r\n```\r\n\r\nand docker-compose.yml:\r\n\r\n```\r\nweb:\r\n  build: .\r\n  command: bundle exec rails server --port 3000 --binding=0.0.0.0\r\n  volumes:\r\n    - .:/app\r\n  ports:\r\n    - \"3000:3000\"\r\n  links:\r\n    - db\r\ndb:\r\n  image: postgres\r\n  ports:\r\n    - \"5432\"\r\n```\r\n\r\nWhen I run `docker-compose build` everything looks fine - images are downloaded, bundler install gems etc. But when I run e.g. `docker-compose run web rake db:create`...:\r\n\r\n```\r\nStarting exampleapp_db_1...\r\n/app/Gemfile not found\r\n```\r\n\r\nIs it bug or am I doing something wrong?\r\n\r\nOS: Fedora 21\r\nDocker: 1.5.0\r\nCompose: 1.1.0"}}