Coder Social home page Coder Social logo

Comments (9)

mattbrictson avatar mattbrictson commented on August 15, 2024 2

Your bundle install should only take a long time on the first deploy. If you have not changed anything in your Gemfile, then subsequent deploys will be very fast. Capistrano bundles gems in shared/bundle so that they are reused across deploys of the same app.

If you have more than one app on the same server (which is never the case in my experience), then the bundled gems are not shared between those apps.

from bundler.

warrenlalata avatar warrenlalata commented on August 15, 2024 2

same is happening to me. just stucked with this errors: almost 10 mins now.

image

also whenever it is running, I cannot connect to my ec2 instance. is this expected?

from bundler.

tkoutangni avatar tkoutangni commented on August 15, 2024 1

I had the same issue so this is what i tried to solve it. i remove the releases/ and current/ folder on server and redeploy the app. It was fast this time. Let me know if that works for you too.

from bundler.

mattbrictson avatar mattbrictson commented on August 15, 2024

Can you verify:

  1. You don't accidentally have the .bundle directory checked into git
  2. The latest version of bundler (1.6.4) is installed on the server

from bundler.

wcc526 avatar wcc526 commented on August 15, 2024

Thank you,I want to know why the capistrano bundle install folder is in the shared bundle,why not use the system's bundle folder,If I deploy more project,it will save time.

from bundler.

mattbrictson avatar mattbrictson commented on August 15, 2024

Bundler's official documentation recommends against using the system location in deployment.
http://bundler.io/v1.6/man/bundle-install.1.html#DEPLOYMENT-MODE

from bundler.

wcc526 avatar wcc526 commented on August 15, 2024

why Bundler's official documentation recommends against using the system location,I mean in the producion environment.
I don't understand the purpose,why not share the same gem in different project,If they use seperate gem,it takes too long time to bundle install these gems when cap production deploy.

from bundler.

ijunaid8989 avatar ijunaid8989 commented on August 15, 2024

I am having the same issue. I have only one application.

I installed ruby through RVM there and did nothing else. only the required things. But Its stuck on
``
~/.rvm/bin/rvm default do bundle install --path /home/deployer/apps/evercam-admin/shared/bundle --without development

from bundler.

cbrandt-it avatar cbrandt-it commented on August 15, 2024

Have you found a solution, @errawn ? I'm having the exact same problem.

from bundler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.