Skip to content

Default layout to enable autoloading and environment support for ruby apps.

Notifications You must be signed in to change notification settings

trueheart78/booster_pack

Repository files navigation

Booster Pack Layout 🚀

This is the default layout for the Booster Pack setup to enable autoloading and environment support for ruby apps.

Taylor Swift - Strong

Goal 🏁

When moving from "Hey, I have a couple cool scripts" and expanding them into a more robust library, a majority of what's provided should be able to dropped into said project's structure, and ease the migration to a more fully featured app.

Bonus 🎁

There is a default test.yml file in the .github/workflows directory that will enable GitHub's CI system, and can easily be altered.

But Wait, There's More... 💻

Alongside a bin/setup, there is a handy dandy bin/console that will drop you into a Pry console with the project loaded.

Reminder 💡

You're new friend will be require_relative '../booster_pack', instead of calling a litany of requires.

What About Libraries Like JSON? 📚

If you need part of the Ruby standard library loaded, you will still need to require it. If you want it project-wide, you can add it to the bottom of the booster_pack.rb file and you'll have it wherever you need it.

Starting Fresh 🌱

This repo is laid how so that, if you want to start a new project from it, everything should work after you run bundle install.

About

Default layout to enable autoloading and environment support for ruby apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published