mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Use bundle exec to run example files (#5552)
When showing a junior how to explore how Sidekiq works, we noticed that if you’re running from the source directory, you’ll need to use bundle exec to get the gem on the load path. Co-authored-by: Musa Kurel <musakurel@gmail.com> Co-authored-by: Musa Kurel <musakurel@gmail.com>
This commit is contained in:
parent
b2b23bfee4
commit
657f08502a
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
require "sidekiq"
|
||||
|
||||
# Start up sidekiq via
|
||||
# ./bin/sidekiq -r ./examples/por.rb
|
||||
# bundle exec bin/sidekiq -r ./examples/por.rb
|
||||
# and then you can open up an IRB session like so:
|
||||
# irb -r ./examples/por.rb
|
||||
# bundle exec irb -r ./examples/por.rb
|
||||
# where you can then say
|
||||
# PlainOldRuby.perform_async "like a dog", 3
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue