Giter Site home page Giter Site logo

Comments (4)

wuputah avatar wuputah commented on July 19, 2024

Do you have an example of a file that causes this issue?

from heroku-buildpack-ruby.

schneems avatar schneems commented on July 19, 2024

This file causes an exception: https://gist.github.com/4332108 though maybe not after the gist copy-pasta

from heroku-buildpack-ruby.

wuputah avatar wuputah commented on July 19, 2024

Yeah, I'm not able to reproduce with that file. I tried adding some random data to the end of a file and that didn't work either.

A gist is fine, but you might clone the gist's git repo and copy the file in that way.

from heroku-buildpack-ruby.

schneems avatar schneems commented on July 19, 2024

Use https://gist.github.com/4332288 instead:

$ git clone https://gist.github.com/4332288.git
Cloning into 4332288...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 0), reused 3 (delta 0)
Unpacking objects: 100% (6/6), done.

$ irb
>  File.read("4332288/application.rb") =~ /Rails::Application/
ArgumentError: invalid byte sequence in UTF-8
  from (irb):3

from heroku-buildpack-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.