This project is archived and is in readonly mode.
Console loading is broken on recursive module
-
Tristan Leo
+1
-
Pratik
- State changed from new to invalid
- Assigned user set to Pratik
I'm not able to reproduce this. Could you please add steps to reproduce on a new rails app ?
Thanks.
-
coren
Hi,
Here is a sample step to reproduce : 1. make a rails app rails test 2. Install gem gettext sudo gem install gettext 3. Add it to your new app, in config/environment.rb : config.gem "gettext", :lib => "gettext/rails" 4. Install gettext_localize plugin script/plugin install svn://rubyforge.org/var/svn/gettextlocalize/trunk/gettext_localize 5. Launch the console ./script/console 6. you will see the ugly error this issue & the fix is about : "/usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/console_with_helpers.rb:5:in
include_all_modules_from':SystemStackError: stack level too deep " -
coren
Hi,
Another try where I hope to have a good formatting (there's no preview and no way to edit comments :/):
Here is a sample step to reproduce : 1. make a rails app 1. * rails test 2. Install gem gettext 2. * sudo gem install gettext 3. Add it to your new app, in config/environment.rb : 3. * config.gem "gettext", :lib => "gettext/rails" 4. Install gettext_localize plugin 4. * script/plugin install svn://rubyforge.org/var/svn/gettextlocalize/trunk/gettext_localize 5. Launch the console 5. * ./script/console 6. you will see the ugly error this issue & the fix is about : 6. * "/usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/console_with_helpers.rb:5:in include_all_modules_from':SystemStackError: stack level too deep "
-
coren
Hi,
Last try :
Here is a sample step to reproduce :
1. make a rails app > rails test 2. Install gem gettext > sudo gem install gettext 3. Add it to your new app, in config/environment.rb : > config.gem "gettext", :lib => "gettext/rails" 4. Install gettext_localize plugin > script/plugin install svn://rubyforge.org/var/svn/gettextlocalize/trunk/gettext_localize 5. Launch the console > ./script/console 6. you will see the ugly error this issue & the fix is about : > "/usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/console_with_helpers.rb:5:in include_all_modules_from':SystemStackError: stack level too deep " -
coren
It seems I've managed to have something working.
-> Pratik: Would you please test try the steps and update this issue accordingly ?
Thanks,
-
Jorge Calás
I have the same problem.
-
Eduardo
- Tag changed from bug, helper, patch, railties to bug, helper, patch, railties
Same thing here. Anybody knows how to make the bug valid again? I guess nobody will be following an invalid bug.
-
coren
I am the author of the bug, but I cannot change it to valid again :/. Maybe I should open a new one ?
-
Eduardo
Yes, good idea. You can mention the original bug and the inability to make it valid again. Please post here the new bug number for the other people with the same problem. And thanks for the original report!
By the way, I think that even without changing environment.rb you get the error. I had to move the whole plugin out of the way to be able to use the console.
-
coren
Hi, The new bug is #1103 coren Console loading is broken on recursive module. You can comment and see what's happening on this new issue. You can consider this one as closed.
Regards,