Guest User

Untitled

a guest
Apr 27th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. def ARList.init
  2. `echo "TRACE 0 $SAFE: #{$SAFE}" >/tmp/mess.debug`
  3. `echo "TRACE 1 #{RAILS_ENV}" >>/tmp/mess.debug`
  4. `echo "TRACE 2 #{RAILSBASEDIR}" >>/tmp/mess.debug`
  5. dbstr = "#{Product}_production"
  6. `echo "TRACE 3 #{dbstr}" >>/tmp/mess.debug`
  7. if @@DBCfg then
  8. ActiveRecord::Base.establish_connection(
  9. :adapter => "mysql",
  10. :host => "localhost",
  11. :username => "root",
  12. :password => "",
  13. :database => dbstr
  14. )
  15. else
  16. STDERR.puts "YAML::load returned false on @@DBYMLSpec: #{@@DBYMLSpec}"
  17. end
  18. logger.info "TRACE 9 #{dbstr}"
  19. end
  20. --snip--
  21. TRACE 0 : 1
  22. TRACE 1 production
  23. TRACE 2 /home/u1/railsapp
  24. TRACE 3 u1_production
  25. ----snip----
  26. [Wed May 28 17:42:22 2008] [error] mod_ruby: error in ruby
  27. [Wed May 28 17:42:22 2008] [error] mod_ruby: /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': Insecure operation - gem_original_require (SecurityError)
  28. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
  29. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
  30. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
  31. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
  32. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:229:in `establish_connection'
  33. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /home/jb/app/jb/scriptlib/ARList.rb:48:in `init'
  34. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /home/jb/app/jb/scriptlib/TestServer.rb:72:in `initialize'
  35. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /home/jb/app/jb/scriptlib/ExtractionTreeMenu.rb:39:in `new'
  36. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /home/jb/app/jb/scriptlib/ExtractionTreeMenu.rb:39:in `initialize'
  37. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /home/u1/apachebase/cccr/index.rhtml:7:in `new'
  38. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /home/u1/apachebase/cccr/index.rhtml:7
  39. [Wed May 28 17:42:22 2008] [error] mod_ruby: from (eval):0
  40. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `eval_string_wrap'
  41. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `run'
  42. [Wed May 28 17:42:22 2008] [error] mod_ruby: from /usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'
Add Comment
Please, Sign In to add comment