Comments (3)
Hi Yusuke, thanks for the feedback.
Do you think it'd be possible to change the composition of the stringer method to fix this with the first format? I admit to not having tried the background()
method in the wild, I assumed that syntax would be correct!
I think for most cases, the 3rd example you posted is correct. In Capistrano the composition of things using the DSL is quite convenient for the most cases, but in advanced cases composing your own command as a string is often easier (although then one sacrifices access to the command map, which is a feature which mostly exists for Capistrano)
I would be fine with removing background()
if it's clear that it doesn't work properly.
from sshkit.
Hi guys,
I'm also having troubles with background
.
nohup: failed to run command `RBENV_ROOT=/home/deployer/.rbenv': No such file or directory
I guess the issue is caused by the wrong order of rbenv hooks or something.
from sshkit.
Opened a new issue, background will be removed.
from sshkit.
Related Issues (20)
- connection pool session keepalive HOT 5
- whoami and id -a return different users HOT 16
- "connection closed by remote host" (JRuby / Capistrano) HOT 6
- Exports added by :with are ineffective when :user is specified
- Using a single tunnel/gateway/jump host to connect to multiple hosts HOT 5
- Any way to set the ssh port in the DSL? HOT 1
- `could not settle on host_key algorithm (SSHKit::Runner::ExecuteError)` with certificate based authentication HOT 1
- Connections with openssl-3.0.0 fail with incompatibility error HOT 1
- Issue with dependency versions (net-ssh and net-scp versions are incompatible) HOT 1
- Connection pending forever if command to execute is long HOT 2
- Is there travis-ci.com build? HOT 2
- pls delete this issue.
- download! method doesn't close file HOT 1
- Dependency Issue in i18n with the latest version of sshkit HOT 2
- SFTP transfer does not work with Ruby 2.0 HOT 1
- sshkit broken with net-ssh 7.2.2 HOT 4
- Unbracketed IPv6 addresses don't work HOT 1
- warning: ostruct was loaded from the standard library HOT 1
- warning: already initialized constant SSHKit::StandardError HOT 2
- warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sshkit.