c:/ruby/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in] `union': can't convert Array into String
then I commented the related line in utils.rb
# ESCAPE_HTML_PATTERN = Regexp.union(ESCAPE_HTML.keys)
and everything worked fine
I encountered the below error when I tried to do "heroku db:pull"
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in] `union': can't convert Array into String then I commented the related line in utils.rb # ESCAPE_HTML_PATTERN = Regexp.union(ESCAPE_HTML.keys) and everything worked fine
0 Comments
Eğer heroku da uygulama gerçekleştiriyorsanız ve
$ heroku rake db:fixtures:load komutunu çalıştırdığınızda aşağıdaki hatayı alıyorsanız. "...rake aborted! a YAML error occurred parsing Please note tha t YAML must be consistently indented using spaces. Tabs are not allowed..." sorun hata mesajındaki "Tab" larla ile ilgili olmayabilir ve bir ihtimal fixture dosyalarınızda geçen Türkçe karakterlere ve dosyanın encoding' ine dayanabilir. Eğer fixture dosyalarınızda Türkçe karakterler bulunuyorsa dosya encoding ayarını utf-8 olarak değiştirmeyi deneyebilirsiniz. |
AuthorArda Basoglu is a digital marketing agency owner, software engineer/developer, musician. Worked for several companies: TWB, BNB Software, PINC Solutions, hakia, Nurol, NTV. Archives
October 2021
Categories
All
|