I have just created my first rails app
After having modified the generator script (see
http://rails.lighthouseapp.com/projects/8994/tickets/1176-scriptserver-make-an-error-in-ruby-19-because-of-defined-methods-change
)
I have created controller and I now try to run the generated test, so I
do:

ruby -Itest test/functional/kml_controller_test.rb but I get

But it fails with the below message.

Any help is appriciated.

/var/lib/gems/1.9.0/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:
warning: nested repeat operator + and ? was replaced with '*'
Loaded suite test/functional/kml_controller_test
Started
/usr/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:94:in `sub!':
can't modify frozen string (RuntimeError)
        from
/usr/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:94:in
`test_started'
        from /usr/lib/ruby/1.9.0/test/unit/util/observable.rb:78:in
`call'
        from /usr/lib/ruby/1.9.0/test/unit/util/observable.rb:78:in
`block in notify_listeners'
        from /usr/lib/ruby/1.9.0/test/unit/util/observable.rb:78:in
`each'
        from /usr/lib/ruby/1.9.0/test/unit/util/observable.rb:78:in
`notify_listeners'
        from
/usr/lib/ruby/1.9.0/test/unit/ui/testrunnermediator.rb:47:in `block in
run_suite'
        from
/var/lib/gems/1.9.0/gems/activesupport-2.1.2/lib/active_support/testing/setup_and_teardown.rb:28:in
`run_with_callbacks'
        from /usr/lib/ruby/1.9.0/test/unit/testsuite.rb:34:in `block in
run'
        from /usr/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `each'
        from /usr/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `run'
        from /usr/lib/ruby/1.9.0/test/unit/testsuite.rb:34:in `block in
run'
        from /usr/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `each'
        from /usr/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `run'
        from
/usr/lib/ruby/1.9.0/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
        from
/usr/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:67:in
`start_mediator'
        from
/usr/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:41:in `start'
        from
/usr/lib/ruby/1.9.0/test/unit/ui/testrunnerutilities.rb:29:in `run'
        from /usr/lib/ruby/1.9.0/test/unit/autorunner.rb:216:in `run'
        from /usr/lib/ruby/1.9.0/test/unit/autorunner.rb:12:in `run'
        from /usr/lib/ruby/1.9.0/test/unit.rb:278:in `block in <top
(required)>'
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to