• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Rails problem

A

arachn1d

Guest
I am having the hardest time in the world trying to get a
production server to run Rails. I'm going crazy trying to get this to work because I can't even get one app to properly run.

I get a Rails Failed to Start error, so I've resorted trying to debug
what is going on. I am trying to debug dispatch.fcgi but obviously
some crazy ***** is happening. Can anyone help figure this out?

Thanks.

ruby -d public/dispatch.fcgi
Exception `NameError' at ./public/../config/boot.rb:14 - uninitialized
constant Rails
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- utf8proc_native
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- utf8proc_native
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- utf8proc_native
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
validations.rb:334: warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
validations.rb:363: warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
migration.rb:226: warning: instance variable @ignore_new_methods not
initialized
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
migration.rb:226: warning: instance variable @ignore_new_methods not
initialized
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
attribute_methods.rb:7: warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
connection_adapters/abstract/connection_specification.rb:41: warning:
method redefined; discarding old allow_concurrency=
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
connection_adapters/postgresql_adapter.rb:390: warning: `&'
interpreted as argument prefix
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- db2/db2cli
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- db2/db2cli
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- db2/db2cli
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- oci8
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- oci8
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- oci8
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- oci8
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- oci8
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- oci8
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/core_ext/kernel/requires.rb:19
- no such file to load -- oci8
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- sybsql
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- sybsql
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- sybsql
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/
request.rb:179: warning: method redefined; discarding old
relative_url_root
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- Win32API
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- Win32API
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- Win32API
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/
cgi_ext/raw_post_data_fix.rb:7: warning: method redefined; discarding
old initialize_query
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/
cgi_ext/session_performance_fix.rb:18: warning: method redefined;
discarding old create_new_id
Exception `DRb::DRbServerNotFound' at /usr/lib/ruby/1.8/drb/drb.rb:
1650 - DRb::DRbServerNotFound
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- memcache
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/
session/active_record_store.rb:131: warning: private attribute?
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/
session/active_record_store.rb:181: warning: method redefined;
discarding old connection
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:
160: warning: `*' interpreted as argument prefix
(eval):1: warning: method redefined; discarding old headers
(eval):1: warning: method redefined; discarding old response
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/
prototype_helper.rb:847: warning: `*' interpreted as argument prefix
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- redcloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- redcloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- redcloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- redcloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- redcloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- redcloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/core_ext/kernel/requires.rb:19
- no such file to load -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- html/tokenizer
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- html/tokenizer
/usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.3/lib/action_mailer/
vendor/tmail/facade.rb:486: warning: method redefined; discarding old
create_reply
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- tmail/base64.so
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- tmail/base64.so
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- tmail/base64.so
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- tmail/scanner_c.so
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- tmail/scanner_c.so
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- tmail/scanner_c.so
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- xml/parser
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- xml/parser
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/dependencies.rb:498 - no such
file to load -- xml/parser
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- xml/parser
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8

I've tried installing all the 'missing' gems but that doesn't work. Because they're obviously installed yet it still cannot find them. I tried freezing rails to 1.2.3 but that just gave me this error after it 'froze'.

Code:
-sh-3.1$ ruby -d dispatch.fcgi
Exception `NameError' at ./../config/boot.rb:14 - uninitialized constant Rails
Exception `LoadError' at ./../config/boot.rb:16 - no such file to load -- ../config/../vendor/rails/railties/lib/initializer
./../config/boot.rb:16:in `require': no such file to load -- ../config/../vendor/rails/railties/lib/initializer (LoadError)
        from ./../config/boot.rb:16
        from ./../config/environment.rb:11:in `require'
        from ./../config/environment.rb:11
        from dispatch.fcgi:21:in `require'
        from dispatch.fcgi:21

So if anyone has an idea, I'd appreciate it.

Thanks!
 
Back
Top