0
這是我的rc.local。紅寶石在軌道上:我怎樣才能使「rc.local」在重新啓動時運行
sh /var/www/test.sh
exit 0
這是我test.sh
cd /home/jeff/test && rails s Puma -d
的問題是什麼,RMV無法找到和紅寶石是在USR /箱(1.9.3)。我的紅寶石正確版本是2.1.5。我該如何解決這個問題?
也許我應該添加test.sh的路徑,但我無法弄清楚如何讓它識別ruby 2.1.5的路徑。