Hi all,
I hope somebody can help me out here, since the issue has
been killing
me for the last three days. Here is the issue:
It seems that gruff kills rails/webrick whenever it's used
on win32. I
installed gruff per instructions and it seems to be working.
The
sample controller generates a nice grpah with send_data and
all. The
issue started once I try to use any other
controller/template. Once a
gruff graph gets generated and sent to the browser any
SUBSEQUENT
requests to other controllers fail with weird compile
errors. For
instance:
Showing app/views/admin/show_management/list_shows.rhtml
where line #5 raised:
compile error
./script/../config/../app/views/admin/show_management/list_s
hows.rhtml:5:
Invalid char `\001' in expression
./script/../config/../app/views/admin/show_management/list_s
hows.rhtml:6:
parse error, unexpected $, expecting kEND
_erbout.concat " <th>Show
ID</th>\n"
^
Extracted source (around line #5):
2:
3: <table class="list">
4: <tr class="list_header">
5: <th>Show Name</th>
6: <th>Show ID</th>
7: <th>Location</th>
8: <th>Action</th>
Trace of template inclusion:
/app/views/admin/show_management/list_shows.rhtml
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
#/app/views/admin/show_management/list_shows.rht
ml:6:in
`compile_template'
#/app/controllers/admin/show_management_controll
er.rb:12:in `index'
A quick restart of webrick fixes the issue until I generate
another
graph that is :-(
Thanks
Rafael
_______________________________________________
Rails mailing list
Rails lists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
|