How to downgrade Rails from 2.0.0 to 1.9.3 and update Unicorn config?
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: export GEM_HOME=/usr/local/rvm/gems/ruby-1.9.3-p547 export GEM_PATH=/usr/local/rvm/gems/ruby-1.9.3-p547:/usr/local/rvm/gems/ruby-1.9.3-p547@global DAEMON=/usr/local/rvm/gems/ruby-1.9.3-p547/bin/unicorn 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 ... "