capistrano deploys new code successfully, but the code on the server remains old
up vote
0
down vote
favorite
I'm tryng to deploy a new branch to my staging server. I'm doing this:
cap staging deploy BRANCH=new_branch
Even though, all has been deployed without any error, the code is /var/app/current/app/controllers/my_controller.rb
on the server remains old. It's not the same as the code I have locally in the branch new_branch
.
I've already tried several times and still the result is the same.
Gemfile:
group :development do
gem 'capistrano'
gem 'capistrano-ssh-doctor'
gem 'capistrano-bundler', '~> 1.1.2'
gem 'capistrano-rails', '~> 1.1.1'
gem 'capistrano-passenger'
gem 'capistrano-rake', require: false
gem 'capistrano-rvm'
end
Gemfile.lock:
capistrano (3.11.0)
airbrussh (>= 1.0.0)
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.1.4)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-rails (1.1.8)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rake (0.2.0)
capistrano (>= 3.0)
capistrano-rvm (0.1.2)
capistrano (~> 3.0)
sshkit (~> 1.2)
capistrano-ssh-doctor (1.0.0)
capistrano (>= 3.1)
ruby-on-rails ruby linux capistrano capistrano3
add a comment |
up vote
0
down vote
favorite
I'm tryng to deploy a new branch to my staging server. I'm doing this:
cap staging deploy BRANCH=new_branch
Even though, all has been deployed without any error, the code is /var/app/current/app/controllers/my_controller.rb
on the server remains old. It's not the same as the code I have locally in the branch new_branch
.
I've already tried several times and still the result is the same.
Gemfile:
group :development do
gem 'capistrano'
gem 'capistrano-ssh-doctor'
gem 'capistrano-bundler', '~> 1.1.2'
gem 'capistrano-rails', '~> 1.1.1'
gem 'capistrano-passenger'
gem 'capistrano-rake', require: false
gem 'capistrano-rvm'
end
Gemfile.lock:
capistrano (3.11.0)
airbrussh (>= 1.0.0)
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.1.4)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-rails (1.1.8)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rake (0.2.0)
capistrano (>= 3.0)
capistrano-rvm (0.1.2)
capistrano (~> 3.0)
sshkit (~> 1.2)
capistrano-ssh-doctor (1.0.0)
capistrano (>= 3.1)
ruby-on-rails ruby linux capistrano capistrano3
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm tryng to deploy a new branch to my staging server. I'm doing this:
cap staging deploy BRANCH=new_branch
Even though, all has been deployed without any error, the code is /var/app/current/app/controllers/my_controller.rb
on the server remains old. It's not the same as the code I have locally in the branch new_branch
.
I've already tried several times and still the result is the same.
Gemfile:
group :development do
gem 'capistrano'
gem 'capistrano-ssh-doctor'
gem 'capistrano-bundler', '~> 1.1.2'
gem 'capistrano-rails', '~> 1.1.1'
gem 'capistrano-passenger'
gem 'capistrano-rake', require: false
gem 'capistrano-rvm'
end
Gemfile.lock:
capistrano (3.11.0)
airbrussh (>= 1.0.0)
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.1.4)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-rails (1.1.8)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rake (0.2.0)
capistrano (>= 3.0)
capistrano-rvm (0.1.2)
capistrano (~> 3.0)
sshkit (~> 1.2)
capistrano-ssh-doctor (1.0.0)
capistrano (>= 3.1)
ruby-on-rails ruby linux capistrano capistrano3
I'm tryng to deploy a new branch to my staging server. I'm doing this:
cap staging deploy BRANCH=new_branch
Even though, all has been deployed without any error, the code is /var/app/current/app/controllers/my_controller.rb
on the server remains old. It's not the same as the code I have locally in the branch new_branch
.
I've already tried several times and still the result is the same.
Gemfile:
group :development do
gem 'capistrano'
gem 'capistrano-ssh-doctor'
gem 'capistrano-bundler', '~> 1.1.2'
gem 'capistrano-rails', '~> 1.1.1'
gem 'capistrano-passenger'
gem 'capistrano-rake', require: false
gem 'capistrano-rvm'
end
Gemfile.lock:
capistrano (3.11.0)
airbrussh (>= 1.0.0)
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.1.4)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-rails (1.1.8)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rake (0.2.0)
capistrano (>= 3.0)
capistrano-rvm (0.1.2)
capistrano (~> 3.0)
sshkit (~> 1.2)
capistrano-ssh-doctor (1.0.0)
capistrano (>= 3.1)
ruby-on-rails ruby linux capistrano capistrano3
ruby-on-rails ruby linux capistrano capistrano3
edited Nov 7 at 22:03
asked Nov 7 at 21:53
Joaadani
93
93
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53198417%2fcapistrano-deploys-new-code-successfully-but-the-code-on-the-server-remains-old%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown