Re: [Rails] Rails error: invalid byte sequence in UTF-8

2012-09-09 Thread Carlos Eduardo Ribeiro
i'm using this file too.. in irb is ok, but when is in rails, a i got the problem.. 2012/9/10 Javier Quarite > I've used this file > > > https://github.com/juanbrujo/jQuery-Timelinr/blob/master/js/jquery.timelinr-0.9.5.js > > I've downloaded it and then in irb did > > f = File.read("/path/to/jq

Re: [Rails] Rails error: invalid byte sequence in UTF-8

2012-09-09 Thread Javier Quarite
I've used this file https://github.com/juanbrujo/jQuery-Timelinr/blob/master/js/jquery.timelinr-0.9.5.js I've downloaded it and then in irb did f = File.read("/path/to/jquery.timelinr-0.9.5.js") f.valid_encoding? => true f.encoding => # maybe there's a typo in the file you are using (something

Re: [Rails] Rails error: invalid byte sequence in UTF-8

2012-09-09 Thread Carlos Eduardo Ribeiro
when i execute this rake task https://gist.github.com/1301199/a19adcb7687f2adfc927c9e8da3d716960833797 , don't return me errors, all file is ok.. 2012/9/10 Javier Quarite > > Maybe this help > > > http://stackoverflow.com/questions/7837350/sprockets-encoding-error-on-js-file-invalid-utf-8-byte-s

Re: [Rails] Rails error: invalid byte sequence in UTF-8

2012-09-09 Thread Javier Quarite
Maybe this help http://stackoverflow.com/questions/7837350/sprockets-encoding-error-on-js-file-invalid-utf-8-byte-sequence https://github.com/sstephenson/sprockets/issues/87#issuecomment-1344825 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g

[Rails] Rails error: invalid byte sequence in UTF-8

2012-09-09 Thread Carlos Eduardo Ribeiro
Hello, i have a app on rails 3.2.1 and i use a jquery lib called jQuery Timelinr 0.9.5: http://www.csslab.cl/2011/08/18/jquery-timelinr/ but, when i use it on a .erb view, i got a error: Showing * /home/carlos.ribeiro/projetos/amarribo/app/views/conheca/historico.html.erb* where line *#59* raise