Project

General

Profile

undefined method when starting redmine

Added by rob richards about 15 years ago

Hello,

On my windows laptop I have redmine running perfectly. played with it. nice. time to place on web host.
On my linux webhost I have installed redmine and when I fire up the server I get the error msg:

  • Starting Mongrel listening at 0.0.0.0:12005
  • Starting Rails with production environment...
    /home/rtfminc/etc/rails_apps/redmine/app/controllers/boards_controller.rb:19: undefined method `default_search_scope' for BoardsController:Class (NoMethodError)
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    ....etc.
    I have searched these forums on "default_search_scope" to no luck and "undefined method" was too broad, or I got lost.
    Some help understanding this problem would be appreciated! I do know some Ruby/Rails so will try and track this down, but I've spent a few hours going nowhere. Here is the info for my system..

About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.3
Active Record version 2.3.3
Action Pack version 2.3.3
Active Resource version 2.3.3
Action Mailer version 2.3.3
Active Support version 2.3.3
Application root /home/rtfminc/etc/rails_apps/redmine
Environment development
Database adapter mysql

thanks!


Replies (3)

RE: undefined method when starting redmine - Added by Eric Davis almost 15 years ago

What version of Redmine are you using? Rails 2.3.3 isn't supported in any versions, so your config/environment.rb must have been modified.

Eric Davis

RE: undefined method when starting redmine - Added by Mathias Maul almost 15 years ago

Same error here, albeit with rails 2.3.5 (on ruby 1.8.6). I installed redmine 0.9-stable from git. Any hints would be appreciated! :) Installed gems:

abstract (1.0.0)
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
chef (0.7.16, 0.7.14)
erubis (2.6.5, 2.6.2)
extlib (0.9.14, 0.9.10)
hoe (2.4.0)
json (1.2.0, 1.1.3)
json_pure (1.2.0)
mixlib-cli (1.0.4)
mixlib-config (1.0.12, 1.0.9)
mixlib-log (1.0.3)
ohai (0.3.6)
rack (1.1.0, 1.0.1)
rails (2.3.5)
rake (0.8.7)
ruby-openid (2.1.7, 2.1.4)
rubyforge (2.0.3)
sqlite3-ruby (1.2.5)
stomp (1.1.3, 1.1)
systemu (1.2.0)

    (1-3/3)