- /usr/bin/env: Node : No Such File Or Directory
- Bad Interpreter: No Such File Or Directory
- No Such File Or Directory Error
Did you generate this with rails new appname command? A default Rails 3.0 config.ru file should look more like this: require::File.expandpath('./config/environment', FILE) run ApplicationName::Application If all you've done at this point is install Ruby and Rails, I'd re-run the generator to get something that works. Also, since you're on Windows, I wanted to recommend for your environment installation and setup. It mitigates a lot of the startup pain. This is probably the tutorial you are speaking of, but I also highly recommend for a solid introduction to Rails 3. The may be handy in this situation.
Whenever I have issues I don't understand I usually reboot a fresh drive on my linode and quickly do a bare-minimum install to see if my list of steps work. Sometimes my other actions in the server would cause problems so it's important that the bare-minimum install works before I look at other factors.
/usr/bin/env: Node : No Such File Or Directory
Bad Interpreter: No Such File Or Directory
As for Passenger you can't rely on its generated error messages 100%. Sometimes you could be missing an index.html file or a view file but if you read Passenger's error it's like you messed up ten different things. I recently got Passenger to work from scratch so here's list of what I did:. Did not touch anything with regards to permission (other than what you've doneI just did the CHOWN step; no CHMOD step).
Did not have to touch config.ru or config/environments.rb. Cleared tmp using rm -rf /tmp/. I installed from gemfile (not tarball); ran the gem install passenger cmd (with a 2GB swap). Ran the passenger-install-apache2-module cmd.
No Such File Or Directory Error
Passenger will give 5 lines of code to paste into httpd.conf at the end. Virtualhost config looks like this: ServerName www.domain.com DocumentRoot /var/www/html/app/public Allow from all Options -MultiViews Restart apache and that's it!