I'm using Rails 2.0.1.
On 11 Dez., 12:28, "Florian Aßmann" <[EMAIL PROTECTED]> wrote:
> Hi, since my last checkout from trunk I got this exception when I
> script/server my RoR app:
>
> /home/user/projects/project/vendor/rails/activesupport/lib/
> active_support/core_ext/symbol.rb:11:in `require': wrong number of
> arguments (0 for 1) (ArgumentError)
> from /home/user/projects/project/vendor/rails/activesupport/lib/
> active_support/core_ext/symbol.rb:11:in `__send__'
> from /home/user/projects/project/vendor/rails/activesupport/lib/
> active_support/core_ext/symbol.rb:11:in `to_proc'
> from /home/user/projects/project/vendor/plugins/haml/lib/haml.rb:
> 723:in `each'
> from /home/user/projects/project/vendor/plugins/haml/lib/haml.rb:
> 723:in `init_rails'
> from /home/user/projects/project/vendor/plugins/haml/init.rb:2:in
> `evaluate_init_rb'
> from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
> 79:in `evaluate_init_rb'
> from /home/user/projects/project/vendor/rails/activesupport/lib/
> active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
> from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
> 75:in `evaluate_init_rb'
> ... 34 levels...
> from /home/user/projects/project/vendor/rails/activesupport/lib/
> active_support/dependencies.rb:496:in `require'
> from /home/user/projects/project/vendor/rails/railties/lib/commands/
> server.rb:39
> from script/server:3:in `require'
> from script/server:3
>
> After I did:
>
> %w[haml/template sass sass/plugin].each {|d| require d}
> # %w[haml/template sass sass/plugin].each(&:require)
>
> ... everything works fine again.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---