Created
December 24, 2016 18:23
-
-
Save bleonard/a738c2a1b95c726e37922a14c2e4b1ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# application.rb | |
require_relative "../lib/boot_inquirer" | |
BootInquirer.each_active_app do |app| | |
require app.gem_name | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gemfile | |
gemspec path: "apps/shared" | |
BootInquirer.each_active_app do |app| | |
gemspec path: "apps/#{app.gem_name}" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# routes.rb | |
BootInquirer.each_active_app do |app| | |
mount app.engine => '/', as: app.gem_name | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment