• Home
  • About
    • Bio
    • CV
  • Music
    • Shows
    • Works
  • Research
    • Works
  • Programming
    • Projects
  • Blog
    • Watson
    • Viget
  • Contact
    • Message
    • Subscribe
    • Availability

Satanic Bug

26 Jul 2016

Reading time ~1 minute

What I Did

  1. Paired with Eli discuss going forward with specs for the intern group project. I will attempt to simply test that all of the desired CK components actually render onto the homepage.
  2. Spent the rest of the day debugging a satanic bug which prevented my app from running on production whatsoever. Basically, I was missing #!/usr/bin/env ruby in every file within the app’s bin directory. Apparently this line is a ‘Shebang’ or a character sequence that notifies the program loader to run the program indicated by the ‘Shebang’ instead while passing in the initially called file/script as an argument to the ‘Shebang’ program. I suspect God Almighty knows why this line was missing from said files in the first place.

    What I Learned

  3. <%== %> or HTML-safe embedded ruby tags allows you to render a string as HTML onto a view. This eliminated the <p> tags that were showing up on “These Numbers Matter” that were being generated from the CK’s redactor component.
  4. How to effectively setup a README file for collaborates to setup your app on their system. Generally, this portion of a README file can be divided up into a ‘dependencies’ and ‘setup’ section.
  5. If one sets up an .ruby-version file simply containing the Rails version that their app is built on in the root directory of their app, Rbenv will detect said file and make it easier for collaborators to use the app locally with the appropriate Rails version installed on their system.
  6. IPv6 is the sixth revision to the Internet Protocol (successor to IPv4). Similar to it’s predecessor, it provides unique, numerical IP addresses necessary for Internet-enabled devices to communicate - the only difference being that it utilizes 128-bit addresses instead.


Share Tweet +1