Skip to content

Commit

Permalink
rails_runner から APP_PATH を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
koi-chan committed Jan 16, 2024
1 parent a09eb79 commit 434cee2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
- name: Compile JavaScripts (webpack)
run: yarn webpack
- name: Run tests
run: bundle exec rails test
run: bin/rails test
1 change: 0 additions & 1 deletion lib/rails_runner.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'

options = { environment: (ENV['RAILS_ENV'] || ENV['RACK_ENV'] || "development").dup }
Expand Down

0 comments on commit 434cee2

Please sign in to comment.