Questions tagged [bundler]

22 questions
7
votes
3 answers

How to start a rake task using upstart

I'm trying to setup a Resque worker as an Upstart init script to be used by Monit in a Rails app. I'm not a sysop and I've tried to write this using examples from other init script we have on our server, here's what I got: start on startup stop on…
Nicolas Buduroi
  • 275
  • 3
  • 10
6
votes
2 answers

Why is bundler failing to find rake while deploying with Capistrano?

I have a Rails project which was running on Ubuntu 18.04, and I've just upgraded the system to Ubuntu 20.04. cap production deploy is failing at the step deploy:assets:precompile with: 00:07 deploy:assets:precompile 01…
afarley
  • 213
  • 2
  • 8
3
votes
1 answer

How do I get Apache's www-data to recognize RVm?

Problem: Apache/Passenger don't recognize RVM I have a multi-user install of RVM, per the canonical instructions: http://beginrescueend.com/rvm/install/ I then edited /etc/profile.d/rvm.sh to include the following line so that Ruby 1.9 is the…
Manu R
  • 175
  • 2
  • 6
2
votes
1 answer

Share Ruby Programs between Linux users

Our Linux (Mint) system has 2 admin users - mint & admin. What do we need to do for admin & mint to be able to share gems? Mint has chef, berkshelf & knife-ec2 installed via bundler in the /home/mint/rbenv/ directory. When switching to admin,…
csi
  • 1,535
  • 7
  • 22
  • 42
2
votes
3 answers

Capistrano error "bundle: not found"

I'm trying to deploy octopress on a VPS but getting this error bundle: not found but bundle is installed! Full error. $ cap deploy * 2013-07-20 18:08:55 executing `deploy' * 2013-07-20 18:08:55 executing `deploy:update' ** transaction: start …
kn330
  • 827
  • 1
  • 7
  • 19
2
votes
1 answer

Execute gitlab sidekiq (rake task) with upstart

I'm trying start the gitlab sidekiq daemon through upstart. But unfortunately it seems that the sidekiq worker is respawned since sidekiq start deamonizes itself: Jul 12 17:26:42 git kernel: [370722.042968] init: gitlab-sidekiq main process (28251)…
Pascal
  • 320
  • 2
  • 12
2
votes
1 answer

Setting up Thin, Bundler and Ubuntu

I have a very simple Ruby application which uses Thin and Bundler that I need to stick on an Ubuntu box. I've got as far as getting Ruby, bundler etc installed on the server, but am having trouble running the application itself. Essentially I need a…
Neil Middleton
  • 412
  • 1
  • 4
  • 11
2
votes
1 answer

Passenger is preventing Bundler from seeing my git gems

I'm attempting to deploy a Rails 3.1 application to an Ubuntu 11.04 server running nginx-1.0.0 and passenger-3.0.7 I have a system-level RVM install at /usr/local/rvm/gems/ruby-1.9.2-p180 My nginx.conf looks like: http { passenger_root…
Adam Lassek
  • 492
  • 1
  • 8
  • 18
2
votes
1 answer

Bundle install freezing on sassc during Rails server deployment

I'm trying to deploy a Rails app using capistrano. The deployment script, initiated by cap production deploy runs fine, until this command: $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/app/shared/bundle --jobs 4 --without…
jacob_g
  • 123
  • 6
1
vote
0 answers

How to upgrade Ruby Bundle version in AWS Opsworks

I have a project running on AWS Opsworks, which has current bundler version of 1.5.3 on Ruby 2.2.2. i want to upgrade the bundle version to 1.17.3 but when i try to do it i am getting this…
1
vote
2 answers

chef 13, and inhibiting bundler network requests

My Nodes have no internet access at all. We have no permission to set up a local gems mirror. All gems install needs to be from the chef server. When chef runs, now, it invokes 'bundler install' (chef/lib/chef/cookbook/gem_installer.rb -- L51)…
user2066657
  • 336
  • 2
  • 13
1
vote
1 answer

Continue Bundler Installation

I'm trying to install Gitorious on Debian Wheezy. gitorious uses bundler for automated installation. When I run "bundle install" (not only when installing gitorious, also redmine for example) I sometimes get errors like: Gem::Ext::BuildError:…
Timo
  • 113
  • 3
1
vote
1 answer

Bundler (or Ruby) mangling require paths

About 50% of the time, when I run bundle (or bundle exec foo) I get an error like the following: > bundle /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': No such file or directory -…
Conor McDermottroe
  • 938
  • 1
  • 7
  • 17
1
vote
1 answer

How to install bundler gem on Hetzner server?

I am trying to install bundler using the following command: gem install bundler but recieve this error: ERROR: could not find gem bundler locally or in a repository Running command gem list --local shows me empty list and gem sources shows…
Galichev Anton
  • 153
  • 1
  • 1
  • 4
0
votes
0 answers

Ansible is stalling while running bundler module

I'm putting together a small ansible playbook to deploy a jekyll site and I'm running into some issues when running a task to update the codebase dependencies with bundler. I've tried debugging with the -vvv command line option and can't see…
onmylemon
  • 101
  • 3
1
2