leandrosardi / pampa

Ruby library for async & distributed computing, supporting dynamic reconfiguration, distribution of the computation jobs, error handling, job-retry and fault tolerance, and fast (non-direct) communication to ensure real-time capabilities.
https://ConnectionSphere.com
1 stars 0 forks source link

`BlackStack::Pampa.deploy` method is hard-coding the version of Ruby. #3

Open leandrosardi opened 1 year ago

leandrosardi commented 1 year ago
s = "
source /home/#{node.ssh_username}/.rvm/scripts/rvm >/dev/null 2>&
rvm install 3.1.2 >/dev/null 2>&1; 
rvm --default use 3.1.2 >/dev/null 2>&1;
cd /home/#{node.ssh_username}/pampa >/dev/null 2>&1; 
export RUBYLIB=/home/#{node.ssh_username}/pampa >/dev/null 2>&1;
nohup ruby worker.rb id=#{worker.id} config=~/pampa/config.rb >/dev/null 2>&1 &
"