Skip to content

Commit

Permalink
Use bundle exec rails instead of bin/rails for console
Browse files Browse the repository at this point in the history
Somehow bin/rails appears to get into bundler integration trouble on Ruby version 3.3.2.
  • Loading branch information
dbackeus committed Jun 3, 2024
1 parent 9536e19 commit 9eff041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ def console
application = ARGV.delete_at(0)
abort "Must pass name of application, eg. k console <application>" unless application

system %(#{__dir__}/k run #{application} "EAGER_LOAD=false IRB_USE_AUTOCOMPLETE=true bin/rails console")
system %(#{__dir__}/k run #{application} "EAGER_LOAD=false IRB_USE_AUTOCOMPLETE=true bundle exec rails console")
end

def config
Expand Down

0 comments on commit 9eff041

Please sign in to comment.