Hello
I am trying to launch a server via a sublink on an existing domain - however I am facing a lot of trouble getting it working. I have followed the multitude of instructions on the website and the forum but keep getting a Passenger error as follows:
Web application could not be started
cannot load such file – sequenceserver (LoadError)
/usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require’
/usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require’
config.ru:1:in `block in ’
/usr/local/lib/ruby/gems/2.4.0/gems/rack-1.6.5/lib/rack/builder.rb:55:in `instance_eval’
/usr/local/lib/ruby/gems/2.4.0/gems/rack-1.6.5/lib/rack/builder.rb:55:in `initialize’
config.ru:1:in `new’
config.ru:1:in `’
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval’
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app’
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `module:App’
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `module:PhusionPassenger’
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `’
Error ID
42c53bda
Application root
/usr/local/share/gems/gems/sequenceserver-1.0.9/
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
production
Ruby interpreter command
/usr/local/bin/ruby
User and groups
uid=0(root) gid=0(root) groups=0(root)
My httpd.conf is as follows:
<VirtualHost *:80>
#Server config
ServerName www.foo.com:4567
DocumentRoot /var/www/html
Allow access to URI space
<Directory /var/www/html>
Allow from all
AllowOverride All
Options -MultiViews
#For Apache >= 2.4
Require all granted
#Blast start
Allow access to Rails app’s public files
that are outside of URI space
Alias /blast /usr/local/share/gems/gems/sequenceserver-1.0.9/public
Run Rails app from /subdirectory
<Location /blast>
PassengerBaseURI /blast
PassengerAppRoot /usr/local/share/gems/gems/sequenceserver-1.0.9/
PassengerRuby /usr/local/bin/ruby
Additional rules for files in the public directory of Rails app
<Directory /usr/local/share/gems/gems/sequenceserver-1.0.9/public>
Allow from all
Options -MultiViews +Indexes +FollowSymLinks
#For Apache >= 2.4
Require all granted
PassengerFriendlyErrorPages on
Has someone here seen the same and been able to resolve it?
Thank you all inn advance for your help and wisdom!
Cheers
Rahul