1
Hello, I have a drop on digitalocean, and installed ruby on Rails through the main panel, I can’t use the bundler via upstart or cron , he says that the user does not have the bundler, but when access via ssh I can do everything normally. ex: Bundle exec....
I don’t know what’s going on, I tried to spin
sudo -su root Bundle exec .....
or
sudo -su Rails Bundle exec .....
but not da, as I do to run the bundler with the same features q I use via ssh?
You run the bundler via ssh with the sudo user?
– Leonardo Villela
What error appears?
– Breno Perucchi
Run
bundle install
to install Missing Gems.– Anderson Victhor
only that the user is the current user of ustart knows... in one know very well how to deal with it
– Anderson Victhor
Analyzing from outside I would think something related to user ENV that you are using in your application type
/home/rails
and it seems that sudo is not loading this user’s ENV. Such using RVM or RBENV?– Breno Perucchi