rvm-capistrano Questions

3

I'm trying to deploy a rails app using Capistrano, but it fails because there's no manifest file. This is what I get when I run cap production deploy: 01 mkdir -p /home/deploy/list/releases/2017...
Spinthariscope asked 20/12, 2017 at 20:46

7

Solved

INFO [050fe961] Running mkdir -p /home/rails/rails- capistrano/releases/20140114234157 on staging-rails DEBUG [050fe961] Command: cd /home/rails/rails-capistrano/repo && ( PATH=/opt/ruby/b...
Unmusical asked 14/1, 2014 at 23:53

2

Solved

when I try to bundle exec cap production deploy --trace I get an error message: deploy@h2540559:/www/apps/foodsoft$ bundle exec cap production deploy --trace ** Invoke production (first_time) ** E...
Gaillard asked 21/3, 2016 at 8:11

1

Solved

I'm using Capistrano 3.1.4, with capfile require 'capistrano/setup' require 'capistrano/deploy' require 'capistrano/rvm' require 'capistrano/rails' require 'capistrano/rails/assets' require 'capist...
Tanbark asked 7/5, 2015 at 18:59

4

Solved

While bundle:install phase after deploy:finalize_update,i'm getting an error about nokogiri. It suggests , ** [out :: *******] Make sure that `gem install nokogiri -v '1.6.0'` succeeds before bun...
Grosvenor asked 20/6, 2013 at 12:31

4

I want to instruct Capistrano to load environment variables that are defined on remote server. How can I do that? It seems that when I export my environment variables inside .bashrc file, they are...
Nabokov asked 25/8, 2014 at 5:8

2

How do I update the Ruby Version used by Passenger whenever I update Ruby and its Gemlist using RVM and Capistrano? What is the best way to check if my app is using the right ruby version and gemse...
Rectangle asked 12/10, 2014 at 16:0

2

Solved

I'm trying to deploy my Rails (3.1.3) application to the preprod env. I use capistrano (2.12.0) and rvm-capistrano (1.2.2). When I call bundle exec cap ssh it works fine. But when I call bundle ex...
Pajamas asked 24/5, 2012 at 16:53

1

Solved

Deploying with Capistrano fail during rake assets:precompile: /usr/local/rvm/bin/rvm ruby-2.0.0-p353 do bundle exec rake assets:precompile The Prompt Respond with this error: INFO [b438501f] Ru...

4

I get the following error while trying to run "cap production unicorn:start" F, [2013-07-12T04:36:18.134045 #28998] FATAL -- : error adding listener addr=0.0.0.0:80 /home/ec2-user/apps/foo_prod/sh...
Thomajan asked 16/7, 2013 at 8:48

1

Solved

Gemfile: gem 'capistrano', '~> 3.0.0' gem 'capistrano-rails' gem 'capistrano-bundler' gem 'capistrano-rvm' gem 'capistrano3-puma' Deploy.rb: set :rvm_type, :user set :rvm_ruby_version, '2.1....
Yellowthroat asked 19/3, 2014 at 12:4

2

Solved

I do not wish to use sudo for any of my remotely executed commands via Capistrano. Specifically, when I run cap deploy:setup, I'm asked for my sudo password during the first mkdir command. I added ...
Corotto asked 25/5, 2012 at 21:23

3

Solved

In my deploy-file I set the group to www-data: set :user, "root" set :group, "www-data" so when using cap:setup I expected capistrano to chown the folders with root:www-data But all folders and...
Gwenore asked 24/6, 2012 at 11:28

2

Solved

On my development machine: $ bundle exec rails console Loading development environment (Rails 3.2.3) 1.9.3p194 :001 > Rails.env => "development" This is expected. So far, so good. Yet on...
1

© 2022 - 2024 — McMap. All rights reserved.