Skip to content

bin/rails was loading the wrong context. #39

Merged
mark-dce merged 1 commit intomainfrom
fix_bin_rails
Sep 30, 2025
Merged

bin/rails was loading the wrong context. #39
mark-dce merged 1 commit intomainfrom
fix_bin_rails

Conversation

@orangewolf
Copy link
Contributor

we want to generally prefer knapsack bin over app bin, so we need to solve this the way other rails engines solve it. this code was pulled from refinery-core

…knapsack bin over app bin, so we need to solve this the way other rails engines solve it. this code was pulled from refinery-core
Copy link
Contributor

@mark-dce mark-dce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for sorting this out 👍

I pulled the branch locally and tried the failing commands and everything runs as expected:

  • sc sh, then inside the container rails c
  • sc console
  • sc exe c rails c
  • docker compose exec web rails c
  • sc exec rspec ../spec/hyku_knapsack/application_spec.rb
  • sc bundle_exec rspec ../spec/hyku_knapsack/application_spec.rb

@mark-dce mark-dce merged commit 57ef0d1 into main Sep 30, 2025
5 checks passed
@mark-dce mark-dce deleted the fix_bin_rails branch September 30, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants