Has anyone come across this problem… I created some Ruby files in
Textmate
on my Mac - and everything works fine. However, when I run those files
on a
Windows machine I get e.g.
Now this seems to be a problem that Textmate created as files created
with
Rad Rails on the Mac run fine on Windows. This seems to be a tab
character/encoding/carriage return issue. I’ve seen similar symptoms
talked
about elsewhere but no clear resolution.
Basically I am regretting spending 39 Euros on a text editor that seems
to
make my Rails project Mac only (an interesting polemic but frustrating
for
practical real life scenarios where Windows is a necessary evil…)
Anyone got any ideas on how to easily resolve this problem?
Has anyone come across this problem… I created some Ruby files in Textmate
on my Mac - and everything works fine. However, when I run those files on a
Windows machine I get e.g.
Have you tried sending an email to Macromates? Or asking on the
TextMate mailing list? Or #textmate irc chat channel?
The problem is not just tabs/carriage returns and such, it seems to also
be
file format. Here is how I solved it. I just opened all (yup ALL)
the
files on my Windows box in TextPad, changed the file format dropdown
from
“unix” to “pc” and then saved them. I think that there are commercial
products that do this but I didn’t check them out
Has anyone come across this problem… I created some Ruby files in
Textmate
on my Mac - and everything works fine. However, when I run those files
on a
Windows machine I get e.g.
compile error
./script/…/config/…/app/views/station/consumption/new.rhtml:2: Invalid
char `\002’ in expression
./script/…/config/…/app/views/station/consumption/new.rhtml:4: Invalid
char \002' in expression ./script/../config/../app/views/station/consumption/new.rhtml:8: Invalid char \002’ in expression
Now this seems to be a problem that Textmate created as files created
with
Rad Rails on the Mac run fine on Windows. This seems to be a tab
character/encoding/carriage return issue. I’ve seen similar symptoms
talked
about elsewhere but no clear resolution.
Basically I am regretting spending 39 Euros on a text editor that seems
to
make my Rails project Mac only (an interesting polemic but frustrating
for
practical real life scenarios where Windows is a necessary evil…)
Anyone got any ideas on how to easily resolve this problem?
Sean
–
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.