Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [solved] Error when installing a bundle

[solved] Error when installing a bundle

Added by Andrew Irwin about 11 years ago

I get the message below, does any one know what is wrong.

openproject@cbceg-proj : /openproject$ bundle install —without portgres rmagick
Fetching source index from https://rubggems.org/
Fetching git ://github.com/finnlabs/rspec-example_disabler.git
fatal: unable to connect to github.com:

github.com[0: 192.30.252.130]: errno=Connection refused

I have restarted the server and still get the same message.

Thanks

Andrew


Replies (8)

RE: Error when installing a bundle - Added by Jakub Zajdlik about 11 years ago

Dear All,
I got similar problem related to bundle install (resp.: bundle install --without rmagick). After quite long time of waiting on Fetching git://github.com/finnlabs/rspec-example_disabler.git

I am getting:

fatal: read error: Connection timed out
Retrying git clone 'git://github.com/finnlabs/rspec-example_disabler.git' "/home/openproject/.rvm/gems/ruby-2.0.0-p451/cache/bundler/git/rspec-example_disabler-35a5fb1feefa41a28078cf521b6e33d3c8fe6014" --bare --no-hardlinks --quiet due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git://github.com/finnlabs/rspec-example_disabler.git' "/home/openproject/.rvm/gems/ruby-2.0.0-p451/cache/bundler/git/rspec-example_disabler-35a5fb1feefa41a28078cf521b6e33d3c8fe6014" --bare --no-hardlinks --quiet` in directory /home/openproject/openproject has failed.

I tried to skip this step but when I want to create databases (bundle exec rake db:create:all) I got:

Could not find rake-10.1.0 in any of the sources
Run `bundle install` to install missing gems.

If I should create new thread let me know.
Thank you in advace for any help.

RE: Error when installing a bundle - Added by Philipp Tessenow about 11 years ago

I guess this is a network error (in both cases). I am not sure how to proceed here (because https://status.github.com/ says that everything is fine and it works on my computer). Are you able to reach github.com in your browser?

— tessi

RE: Error when installing a bundle - Added by Andrew Irwin about 11 years ago

Yes I could from a different machine, but there is no browser on the server that I’m installing this on.

RE: Error when installing a bundle - Added by Andrew Irwin about 11 years ago

This may not have anything to do with openproject, but the port 9418 on the firewall is block, which means that the command git://github.com/finnlabs/rspec-example_disabler.git will not work.

Is this possible?

RE: Error when installing a bundle - Added by Christian Ratz about 11 years ago

Hello Andrew,

yes this could be the cause. Try to replace the a line (152) in the Gemfile and run bundle install again:

replace:
gem 'rspec-example_disabler', github: 'finnlabs/rspec-example_disabler', branch: 'master'
with:
gem 'rspec-example_disabler', git: "https://github.com/finnlabs/rspec-example_disabler.git"

Best
Ratzi

RE: Error when installing a bundle - Added by Christian Ratz about 11 years ago

We changed the Gemfile in the dev branch, Thanks a lot for the hint.

Best
Ratzi

RE: Error when installing a bundle - Added by Andrew Irwin about 11 years ago

Thanks that solved it.

Andrew

RE: Error when installing a bundle - Added by Jakub Zajdlik about 11 years ago

Finally I took machine on different network and it works before I have red this post. Thank you all anyway.
Jakub

  • (1 - 8/8)
Loading...