undefined method when starting redmine
Added by rob richards over 13 years ago
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'
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
Database adapter mysql
RE: undefined method when starting redmine - Added by Eric Davis over 13 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.
RE: undefined method when starting redmine - Added by Mathias Maul about 13 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:
chef (0.7.16, 0.7.14)
erubis (2.6.5, 2.6.2)
extlib (0.9.14, 0.9.10)
json (1.2.0, 1.1.3)
mixlib-config (1.0.12, 1.0.9)
rack (1.1.0, 1.0.1)
ruby-openid (2.1.7, 2.1.4)
stomp (1.1.3, 1.1)
RE: undefined method when starting redmine - Added by Larry Zhang about 13 years ago
i have the same issue, see http://www.redmine.org/boards/2/topics/10498