Hello,
i installed Ruby on root-user with rbenv. Only as root it was possible to run rbenv-install.
Then, i've changed the folder ".rbenv/..." and the application-folder (.../redmine-sedlmair/) by chown -R to the user "redmine".
On Terminal i can execute ruby with user "redmine".
But on Webbrowser i receipt the error below, shown in Web-Browser by Passenger.
Any Ideas?
Many thanks and best regards,
Christian
Error:
Web application could not be startedError ID:
5177e2f0Details:
An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.Raw process output:
*** ERROR ***: Cannot execute /root/.rbenv/shims/ruby: Permission denied (13)
System information:
- Application root
- /var/www/sedlmair-redmine/redmine-sedlmair
- Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
- production
- Ruby interpreter command
/root/.rbenv/shims/ruby
- User and groups
uid=1001(redmine) gid=1001(redmine) groups=1001(redmine),27(sudo)