Hi. Currently the droplet started with application rails image has ruby 2.0.0 and rails 4. I'm trying to downgrade but haven't been able to do so. Basically my steps were:
* rvm install 1.9.3
* set 1.9.3 as default with rvm
* updated GEM_PATH, GEM_HOME and DAEMON paths in /etc/init.d/unicorn as following:
Error I get:
1. /usr/bin/env: ruby_executable_hooks: No such file or directory
2. I was also getting something like "unable to stat ... "
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.