Difference between revisions of "Can't open GUI"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 11: Line 11:


===NoMethodError (undefined method `in_place_edit_for' for CallcController:Class)===
===NoMethodError (undefined method `in_place_edit_for' for CallcController:Class)===
The problem is that overnight Rails 2.0 was released. That ruined MOR running properly.
To fix this you need to execute:
gem install rails -v=1.2.3
then go to /home/mor/config/environment.rb
and add line:
'''RAILS_GEM_VERSION = '1.2.3''''
save and restart apache – it should work.
MOR code will be fixed to be Rails 2.0 compatible.

Revision as of 09:59, 8 December 2007

Troubleshooting

Error

LoadError (Expected /home/mor/app/controllers/callc_controller.rb to define CallcController)

If you have Debian try:


NoMethodError (undefined method `in_place_edit_for' for CallcController:Class)

The problem is that overnight Rails 2.0 was released. That ruined MOR running properly.

To fix this you need to execute:

gem install rails -v=1.2.3 

then go to /home/mor/config/environment.rb

and add line:

RAILS_GEM_VERSION = '1.2.3'

save and restart apache – it should work.

MOR code will be fixed to be Rails 2.0 compatible.