Already solved by Bruno.

I used engines plugin too. That was my fault.

Sorry for double post.

best regards
gREG

On 28 Mai, 16:42, gREG <[email protected]> wrote:
> Hi everybody,
>
> I first tried to get community_engine work under InstantRails 2.3.2
> and failed.
>
> Now I have installed ruby standalone but I'm still getting 127 errors
> during  "rake community_engine:test".
> I've tried community_engine v1.0.2 and the edge version.
>
> Here is my system:
>
> - Windows XP
>
> - ruby v1.8.6
> - rails v2.3.2
> - gem v1.3.1
>
> - desert v0.5.0
> - rake v0.8.7, v0.8.1
> - rmagick v2.9.0
> - hpricot v0.6.164
> - haml v2.0.9
> - Redcloth v4.1.9
> - htmlentities v4.0.0
>
> - engines v2.3.2
> - community_engine v1.0.3, v1.0.2
>
> I changed all necessary files like
>
> Here is one of the errors e.g.:
>
> 126) Error:
> test_should_show_user(UsersControllerTest):
> ActionView::TemplateError: stack level too deep
>     On line #28 of vendor/plugins/community_engine/app/views/users/
> _profile_user_info_side
> bar.html.haml
>
>         25:         =:no_profile_photo.l
>         26:         = link_to :click_here_to_upload_one.l,
> edit_user_path(@user)
>         27:       %br
>         28:     = image_tag( @user.avatar_photo_url(:medium), :class
> => "polaroid")
>         29:
>         30:   - if current_user and
> current_user.can_request_friendship_with(@user)
>         31:     = add_friend_link(@user)
>
>         vendor/plugins/community_engine/app/views/users/
> _profile_user_info_sidebar.html.ha
> ml:28:in
> `_run_haml_vendor47plugins47community_engine47app47views47users47_profile_user_in
> fo_sidebar46html46haml_locals_object_profile_user_info_sidebar_user'
>         haml (2.0.9) lib/haml/helpers.rb:261:in `call'
>         haml (2.0.9) lib/haml/helpers.rb:261:in `capture_haml'
>         haml (2.0.9) lib/haml/helpers.rb:430:in `with_haml_buffer'
>         haml (2.0.9) lib/haml/helpers.rb:258:in `capture_haml'
>         haml (2.0.9) lib/haml/helpers/action_view_mods.rb:90:in
> `capture'
>         vendor/plugins/community_engine/app/helpers/base_helper.rb:
> 55:in `block_to_partial
> '
>         vendor/plugins/community_engine/app/helpers/base_helper.rb:
> 59:in `box'
>         vendor/plugins/community_engine/app/views/users/
> _profile_user_info_sidebar.html.ha
> ml:13:in
> `_run_haml_vendor47plugins47community_engine47app47views47users47_profile_user_in
> fo_sidebar46html46haml_locals_object_profile_user_info_sidebar_user'
>         haml (2.0.9) lib/haml/helpers/action_view_mods.rb:12:in
> `render'
>         haml (2.0.9) lib/haml/helpers.rb:57:in `non_haml'
>         haml (2.0.9) lib/haml/helpers/action_view_mods.rb:12:in
> `render'
>         vendor/plugins/community_engine/app/views/users/show.html.haml:
> 17:in `_run_haml_ve
> ndor47plugins47community_engine47app47views47users47show46html46haml'
>         haml (2.0.9) lib/haml/helpers.rb:261:in `call'
>         haml (2.0.9) lib/haml/helpers.rb:261:in `capture_haml'
>         haml (2.0.9) lib/haml/helpers.rb:430:in `with_haml_buffer'
>         haml (2.0.9) lib/haml/helpers.rb:258:in `capture_haml'
>         haml (2.0.9) lib/haml/helpers/action_view_mods.rb:90:in
> `capture'
>         vendor/plugins/community_engine/app/helpers/base_helper.rb:
> 55:in `block_to_partial
> '
>         vendor/plugins/community_engine/app/helpers/base_helper.rb:
> 59:in `box'
>         vendor/plugins/community_engine/app/views/users/show.html.haml:
> 16:in `_run_haml_ve
> ndor47plugins47community_engine47app47views47users47show46html46haml'
>         haml (2.0.9) lib/haml/helpers/action_view_mods.rb:14:in
> `render'
>         haml (2.0.9) lib/haml/helpers/action_view_mods.rb:14:in
> `render'
>         haml (2.0.9) lib/sass/plugin/rails.rb:19:in `process'
>         /vendor/plugins/community_engine/test/functional/
> users_controller_test.rb:180:in `
> test_should_show_user'
>         D:/Ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
>         D:/Ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
>         D:/Ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
>         D:/Ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
>         D:/Ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
>         D:/Ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
>         D:/Ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in
> `run_suite'
>         D:/Ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in
> `start_mediator'
>         D:/Ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in
> `start'
>         D:/Ruby/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in
> `run'
>         D:/Ruby/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
>         D:/Ruby/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
>         D:/Ruby/lib/ruby/1.8/test/unit.rb:278
>         rake (0.8.7) lib/rake/rake_test_loader.rb:5
>
> All erros look similar - maybe a problem with haml?
>
> Has anyone any idea to this?
> Thanks
> with best regards,
> gREG
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to