Skip to content

Commit

Permalink
Add correct paths to $LOAD_PATH (#1169)
Browse files Browse the repository at this point in the history
The `bin/setup` script was failing due to being unable to find the
required files in `demo/config/application.rb`. It looks like the
file references we're nested one level to deep.
  • Loading branch information
jklina authored Dec 8, 2023
1 parent 6ac4926 commit 294e510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/config/boot.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../Gemfile', __dir__)
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __dir__)

require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
$LOAD_PATH.unshift File.expand_path('../../../lib', __dir__)
$LOAD_PATH.unshift File.expand_path('../../lib', __dir__)

0 comments on commit 294e510

Please sign in to comment.