Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

bundler

Ruby: What does ‘require: false’ in Gemfile mean?

September 15, 2022 by Tarik

This means install the gem, but do not call require when you start Bundler. So you will need to manually call require “whenever” if you want to use the library. If you were to do gem “whenever”, require: “whereever” then bundler would download the gem named whenever, but would call require “whereever” This is often … Read more

Categories ruby Tags bundler, gemfile, ruby Leave a comment

Should Gemfile.lock be included in .gitignore?

September 13, 2022 by Tarik

Update for 2022 from TrinitronX Fast-forward to 2021 and now Bundler docs [web archive] now say to commit the Gemfile.lock inside a gem… ¯_(ツ)_/¯ I guess it makes sense for developers and ease of use when starting on a project. However, now CI jobs need to be sure to remove any stray Gemfile.lock files to … Read more

Categories ruby Tags bundler, gemfile, git, ruby, version-control Leave a comment
Newer posts
← Previous Page1 … Page12 Page13

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa