mryan43 / magic_encoding

Easily manage magic comments for encoding for your ruby 1.9 applications
MIT License
243 stars 27 forks source link

don't know what happened #4

Closed sebphfx closed 12 years ago

sebphfx commented 12 years ago

but I use magic_encoding in a Gems folder and it copied a part of the end of every file. So now I m stuck with 1798 files with crap at the bottom. I don't know If I can use magic_encoding to remove these lines but I ll have to use Regex I guess. Not funny at all. I wish there was more documentation even if it's easy to use.

edit: ok. i freaked out for nothing. I didnt know it literally takes 5 minutes to uninstall and reinstall all your gems.I don't know what happened. Magic_encoding is great but at first I entered "magic_encoding /path/to/folder/ not realizing there should be an option or flag in it's place.

plucb commented 9 years ago

Even with the flag between the path and magic_encoding ("magic_encoding utf-8 ./"), it does the same thing as it did for you... it copy the last line of every file to be encoded.

Does it happens to anyone else?

Edit: Nevermind