zpaulovics / datetimepicker-rails

A date and time picker for Twitter Bootstrap in Rails using Simple Form
MIT License
174 stars 80 forks source link

Please release the latest fix "Fix git submodules path" #94

Open AdhamMoussa opened 2 years ago

AdhamMoussa commented 2 years ago

My bundle is failing because of thew error

The unauthenticated git protocol on port 9418 is no longer supported.
fatal: clone of 'git://github.com/eonasdan/bootstrap-datetimepicker.git' into submodule path '/usr/local/bundle/bundler/gems/datetimepicker-rails-36d21cec5da7/bootstrap-datetimepicker' failed
Failed to clone 'bootstrap-datetimepicker' a second time, aborting
aruprakshit commented 2 years ago

I have the same error on Heroku review apps.

Retrying `git clone 'git://github.com/zpaulovics/datetimepicker-rails.git' "/tmp/build_8c2d2e4b/vendor/bundle/ruby/2.6.0/cache/bundler/git/datetimepicker-rails-dbe0581d6e31538fee92ab883d261b9cacbf6108" --bare --no-hardlinks --quiet` due to error (4/4): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git://github.com/zpaulovics/datetimepicker-rails.git' "/tmp/build_8c2d2e4b/vendor/bundle/ruby/2.6.0/cache/bundler/git/datetimepicker-rails-dbe0581d6e31538fee92ab883d261b9cacbf6108" --bare --no-hardlinks --quiet` in directory /tmp/build_8c2d2e4b has failed.fatal: unable to connect to github.com:
       github.com[0: 141.82.213.4]: errno=Connection timed out
TruRooms commented 2 years ago

Workaround:

Replace the gemfile entry with

gem 'datetimepicker-rails', git: 'git@github.com:zpaulovics/datetimepicker-rails.git', branch: 'master', submodules: true