Closed palladius closed 1 month ago
@palladius are you trying to set up a dev machine? It seems like a git config issue. please see the directions from ChatGPT
The error message indicates that Bundler encountered an issue when trying to fetch the azure-storage-ruby
gem from a Git repository. The specific error is related to the Git command failing due to the repository being bare and the safe.bareRepository
setting being set to 'explicit'. Here's how you can address this issue:
Check Git Configuration: Ensure that your Git configuration allows operations on bare repositories. You can set this explicitly using:
git config --global safe.bareRepository all
Clean the Bundler Cache: Sometimes the local cache may be corrupted. Try clearing it:
bundle cache clean --all
Remove and Reinstall the Gem: Delete the cached Git repository and retry:
rm -rf /home/ricc/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/cache/bundler/git/azure-storage-ruby-bcc8dd7469fbc5f447c561e2a79b3385215a794b
bundle install
Explicitly Clone the Repository: If the above steps don't resolve the issue, try manually cloning the repository to a local directory and pointing your Gemfile
to it:
git clone https://github.com/chatwoot/azure-storage-ruby.git /path/to/local/repo
Then, update your Gemfile
to reference the local path:
gem 'azure-storage-ruby', path: '/path/to/local/repo'
Update Bundler and Git: Ensure you have the latest versions of Bundler and Git, as bugs in older versions might cause such issues:
gem install bundler
Check Permissions: Make sure you have the necessary read and write permissions for the directories involved. You may need to adjust permissions or run commands with sudo
if necessary.
These steps should help resolve the Git error and allow you to continue with your development setup. If you continue to encounter issues, it might be related to how the repository is configured on GitHub, and further investigation might be needed into the repository's settings or contents.
Seems like an issue outside of the Chatwoot repo. Please re-open this if you think this is a issue with Chatwoot codebase.
Describe the bug
can't install either
master
ordevelop
branches on my Debian.To Reproduce
repro
git clone https://github.com/chatwoot/chatwoot
cd chatwoot
bundle install
=>
More on my env
Long error:
Expected behavior
No response
Environment
Linux VM
Cloud Provider
None
Platform
None
Operating system
Linux Debian
Browser and version
No response
Docker (if applicable)
No response
Additional context
No response