У меня есть приложение Rails, работающее на экземпляре EC2 (дистрибутив Ubuntu).Amazon EC2 не знает о заданиях CRON
Дело в том, что задачи CRON никогда не запускаются - вот в чем проблема. Они работают локально, но не на Amazon EC2 (вероятно, из-за неправильных путей к рубину и т. Д.), Но, к сожалению, я не очень квалифицирован в этой области). Как запустить CRON-задачи с помощью Rails-приложения (RVM)?
Я борюсь на третий день с этой проблемой, но все равно не могу заставить ее работать, поэтому я буду очень благодарен за любую помощь.
Спасибо
EDIT:
кронтаб -e
# Begin Whenever generated tasks for: /home/user_name/project/releases/201309301$
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /bin/bash -l -c 'cd /home/user_name/f$
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /bin/bash -l -c 'cd /home/user_name/f$
# End Whenever generated tasks for: /home/user_name/project/releases/20130930170$
schedule.rb
set :output, "/home/user_name/project/current/log/cron_log.log"
every 5.minutes do
puts "It's working !!!"
runner "User.grab_first_user!", :environment => 'production'
end
cron_log.log
: No such file or directory
....
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby/bin/bash: bundle: command not found
: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby/bin/bash: bundle: command not found
: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
: No such file or directory
/bin/bash: /usr/bin/some_great_command: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
/bin/bash: bundle: command not found
/usr/bin/env: ruby: No such file or directory
/usr/bin/env: ruby: No such file or directory
/bin/bash: bundle: command not found
/bin/bash: /usr/bin/some_great_command: No such file or directory
Итак, что находится в вашем файле 'crontab' и почему вы думаете, что у него неправильный путь к рубину? –
'Евгений, я обновил ответ, спасибо. – user984621
Не могли бы вы запустить 'which ruby' в консоли и что это такое? –