Hey guys, how are you doing?
I need some help configuring rails with OpenLiteSpeed using virtualenvs...
This is my context block at the moment:
But when I try to access the example app, OLS returns:
2020-03-18 22:04:41.492 [STDERR] from /usr/local/lsws/fcgi-bin/RackRunner.rb:17:in `<main>'
2020-03-18 22:04:41.636 [STDERR] /usr/local/rvm/rubies/ruby-2.6.5/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- lsapi (LoadError)
2020-03-18 22:04:41.636 [STDERR] from /usr/local/rvm/rubies/ruby-2.6.5/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
2020-03-18 22:04:41.636 [STDERR] from /usr/local/lsws/fcgi-bin/RackRunner.rb:17:in `<main>'
Any ideas?
I need some help configuring rails with OpenLiteSpeed using virtualenvs...
This is my context block at the moment:
Code:
context / {
type appserver
location /srv/app16.bffcdaf6.configr.cloud/www
binPath /usr/local/rvm/rubies/ruby-2.6.5/bin/ruby
appType rails
addDefaultCharset off
}
2020-03-18 22:04:41.492 [STDERR] from /usr/local/lsws/fcgi-bin/RackRunner.rb:17:in `<main>'
2020-03-18 22:04:41.636 [STDERR] /usr/local/rvm/rubies/ruby-2.6.5/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- lsapi (LoadError)
2020-03-18 22:04:41.636 [STDERR] from /usr/local/rvm/rubies/ruby-2.6.5/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
2020-03-18 22:04:41.636 [STDERR] from /usr/local/lsws/fcgi-bin/RackRunner.rb:17:in `<main>'
Any ideas?