Arg! Fedora, Plesk, Rails?

I am having the hardest time in the world trying to get a clients
production server to run Rails. Not only does he want this one
application to run though, he wants any client of his to be able to
run a rails app. 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 -- redcloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- bluecloth
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 -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- bluecloth
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 -- bluecloth
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/site_ruby/1.8/rubygems/
custom_require.rb:34 - 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/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:27 - no such file to load -- xmlscan/scanner
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- xmlscan/scanner
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 -- xmlscan/scanner
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- xmlscan/scanner
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 -- xmlscan/scanner
Set XSD::XMLParser::REXMLParser as XML processor.
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27 - no such file to load -- http-access2
Exception `MissingSourceFile' at /usr/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:34 - no such file to load -- http-access2
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 -- http-access2
Loading http-access2 failed. Net/http is used.
/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.2.3/lib/
action_web_service/protocol/xmlrpc_protocol.rb:6: warning: discarding
old message
Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File
exists - public/../config/../tmp/attachment_fu
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
observer.rb:35: warning: instance variable @observers not initialized
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:547:
warning: instance variable @after_initialize_block not initialized
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:93: warning:
private attribute?
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:93: warning:
private attribute?
Exception `NoMethodError' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/whiny_nil.rb:35 - You have a
nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.split
(eval):3: warning: redefine remove_params
(eval):13: warning: method redefined; discarding old initialize
(eval):19: warning: method redefined; discarding old args
(eval):22: warning: method redefined; discarding old env_table
(eval):25: warning: method redefined; discarding old stdinput
(eval):28: warning: method redefined; discarding old stdoutput
Exception `NoMethodError' at /usr/lib/ruby/gems/1.8/gems/
activesupport-1.4.2/lib/active_support/whiny_nil.rb:35 - You have a
nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.split

DanielFischer.com wrote:

I am having the hardest time in the world trying to get a clients
production server to run Rails. Not only does he want this one
application to run though, he wants any client of his to be able to
run a rails app. 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.

You are missing a whole bunch of gems. On the machine that is working type:

gem list --local

and then compare that list with the results of the above command on the production machine that's not working.

That's what I figured. But when I try something like gem install
utf8proc_native - it doesn't exist.

DanielFischer.com wrote:

That's what I figured. But when I try something like gem install
utf8proc_native - it doesn't exist.

That's cause the gem is called "utf8proc".

Haha well thanks - weird that all these gems are missing. I never had
to install them on any of my machines.

Okay, so I installed the gems but it seems like the application still
can't find the gems. This is pretty weird now. The one that scares me
the most is this one:

Exception `NameError' at ./../config/boot.rb:14 - uninitialized
constant Rails

So, any idea on why it can't find anything?

Make sure that CGI support is on for the domain in the Domain Setup found in the
Plesk control panel.

It is enabled...