Skip to content
This repository has been archived by the owner. It is now read-only.
This repository has been archived by the owner. It is now read-only.

bundler error with any gem from git #11

@ivan-kolmychek

Description

@ivan-kolmychek

When I have gems, spefcified in gemfile with:git, running container fails with bundler error.

Gemfile:

# secure token auth for devise
gem 'simple_token_authentication', git: 'https://github.com/gonzalo-bulnes/simple_token_authentication.git'

Error:

[ivko@thinkpad-e530 test]$ docker run -p 3000 --link test-postgres:postgres test
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/source/git/git_proxy.rb:151:
in `allowed_in_path': The git source https://github.com/gonzalo-bulnes/simple_token_authentication.git
is not yet checked out. Please run `bundle install` before trying to start your application 
(Bundler::GitError)

Some Stack overflow answers suggest to use --path bundler option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions