V
Venkat Alla
Hi
The following is my configuration -
OS - OS X 10.4.11
Ruby version - 1.8.6
gem version - 1.3.1
Active record version - 2.3.2 (the old versions still exist on the
machine if that matter)
mod_ruby version - 1.3
I have test script that has only three entries thats throwing the
internal server error, here is the script -
#!/usr/local/bin/ruby
require 'rubygems'
require 'active_record'
Adn the error message from the apache logs -
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: error in ruby
[Mon Apr 27 18:33:12 2009] [error] mod_ruby:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require': no such file to load -- active_record
(LoadError)
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/Library/WebServer/Documents/cgi-ruby/test.rb:4
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/usr/local/lib/ruby/1.8/apache/ruby-run.rb:53:in `load'
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/usr/local/lib/ruby/1.8/apache/ruby-run.rb:53:in `handler'
Please help.
Thanks in advance.
Venkat.
The following is my configuration -
OS - OS X 10.4.11
Ruby version - 1.8.6
gem version - 1.3.1
Active record version - 2.3.2 (the old versions still exist on the
machine if that matter)
mod_ruby version - 1.3
I have test script that has only three entries thats throwing the
internal server error, here is the script -
#!/usr/local/bin/ruby
require 'rubygems'
require 'active_record'
Adn the error message from the apache logs -
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: error in ruby
[Mon Apr 27 18:33:12 2009] [error] mod_ruby:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require': no such file to load -- active_record
(LoadError)
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/Library/WebServer/Documents/cgi-ruby/test.rb:4
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/usr/local/lib/ruby/1.8/apache/ruby-run.rb:53:in `load'
[Mon Apr 27 18:33:12 2009] [error] mod_ruby: from
/usr/local/lib/ruby/1.8/apache/ruby-run.rb:53:in `handler'
Please help.
Thanks in advance.
Venkat.