rvm1scripts / rvm-auto.sh: not found, but the file exists on the server

0

I'm using Capistrano to deploy my rails application on an AW2 EC2 server with Ubuntu. When you run the assets: pre-compile command, it returns an error that the /var/www/apps/xxxx/rvm1scripts/rvm-auto.sh file was not found, but accessing the server file is there.

** Execute deploy:assets:precompile
INFO [282fb3f9] Running /var/www/apps/xxx/rvm1scripts/rvm-auto.sh . ~/.rvm/bin/rvm 2.3.3@menucontrol do bundle exec rake assets:precompile as vanildo@localhost
DEBUG [282fb3f9] Command: ( RAILS_ENV=teste /var/www/apps/xxx/rvm1scripts/rvm-auto.sh . ~/.rvm/bin/rvm 2.3.3@gemset do bundle exec rake assets:precompile )
DEBUG [282fb3f9] sh: 1: /var/www/apps/xxx/rvm1scripts/rvm-auto.sh: not found
cap aborted!

But looking at my server the file is there!

/var/www/apps/xxx/rvm1scripts$ ls -la
drwxrwxr-x 2 ubuntu ubuntu 4096 Oct 18 13:09 .
drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 18 19:20 ..
-rwxrwxr-x 1 ubuntu ubuntu 1390 Oct 19 18:07 rvm-auto.sh

What could be wrong?

Observations:

Capistrano (3.2.1)
rvm1-capistrano3 (1.4.0)

    
asked by anonymous 19.10.2018 / 20:43

0 answers