Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not checking out gems installed from git #80

Open
itay-grudev opened this issue Jul 6, 2017 · 5 comments
Open

Not checking out gems installed from git #80

itay-grudev opened this issue Jul 6, 2017 · 5 comments

Comments

@itay-grudev
Copy link

itay-grudev commented Jul 6, 2017

Whenever my app is initialising I get the following error:

Bundler::GitError: The git source https://github.com/example/example.git is not yet checked out. Please run `bundle install` before trying to start your application
# Gemfile
gem 'example', git: 'https://github.com/example/example.git', branch: 'master'
@niyioyelade
Copy link

If you are using docker, you may want to include CMD bundle install at the end of your Dockerfile. I had this same problem and this was what resolved it.

@itay-grudev
Copy link
Author

No docker.

@dbvnz
Copy link

dbvnz commented Jul 9, 2020

@itay-grudev Did you ever fix this? I've just hit the same issue. I'm also not using docker, just deploying onto a VM.

@itay-grudev
Copy link
Author

No I didn't. I ended up hosting my modified gem on Rubygems.

@dbvnz
Copy link

dbvnz commented Jul 9, 2020

For future reference in case others hit the same issue I've gone the same path.

Steps as follows:

  1. Fork the gem you're trying to install
  2. Change the name in the .gemspec file to something unique for your installation
  3. Publish your new gem using steps here: https://guides.rubygems.org/make-your-own-gem/
  4. Reference your new gem name in your Gemfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants