I’ve downloaded the newest release of Typo onto both my mac and my
pc. Both have current versions of ruby and rails. The pc has the
latest version of mysql, I think my mac’s version is a release behind.
On both platforms, rake’s tests works, with a single error:
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/
rake_test_loader
Started
…E…
Finished in 5.433574 seconds.
- Error:
test_description(ThemeTest):
Errno::ENOENT: No such file or directory - /Users/riki/Downloads/
typo-2.6.0/config/…/test/mocks/themes/azure/about.markdown
(I’m not too worried about this, I just include this in the interest
of completeness).
Anyway, launching Typo in webbrick, it works fine on the mac.
However, when I try to launch it in webbrick on the PC, I get syntax
errors. Even more oddly, the errors are not consistent. Remotely
viewing the pages from my mac (where I can cut and paste to my mail)
I get this:
SyntaxError in Accounts#signup
Showing app/views/layouts/accounts.rhtml where line #4 raised:
compile error
./script/…/config/…//app/views//./layouts/accounts.rhtml:4: Invalid
char `\003’ in expression
./script/…/config/…//app/views//./layouts/accounts.rhtml:6: syntax
error
_erbout.concat " Typo Administration: "
^
./script/…/config/…//app/views//./layouts/accounts.rhtml:7: syntax
error
^
Extracted source (around line #4):
1:
3:
4:
5:
6: Typo Administration: <%= controller.controller_name %></
title>
7:
Trace of template inclusion: /app/views/layouts/accounts.rhtml
RAILS_ROOT: ./script/…/config/…/
On the PC it will give different lines (sometimes #4, sometimes #5),
and slightly different error messages.
Any idea what’s going wrong? Or more importantly, how to fix it?
Thanks,
-Rich-