Skip to content

Conversation

@mohits
Copy link
Contributor

@mohits mohits commented Jan 25, 2022

If the call is on Windows, it uses where instead of which and correctly sends the output to NUL so that it does not show unnecessary message on the installer's output. This fixes the incorrect/ misleading message shown on Windows currently.

If the call is on Windows, it uses `where` instead of `which` and correctly sends the output to NUL so that it does not show unnecessary message on the installer's output. This fixes the incorrect/ misleading message shown on Windows currently.
@mohits
Copy link
Contributor Author

mohits commented Jan 25, 2022

Verified that it works fine on Windows with JRuby/ CRuby with both Powershell and Command (system uses 'command' anyway). Also, verified that it works as expected on Ubuntu with and without redis-server being present.

@dhh dhh merged commit 2a2a5ec into hotwired:main Jan 25, 2022
@mohits mohits deleted the patch-1 branch January 25, 2022 09:04
dhh added a commit to ankurp/turbo-rails that referenced this pull request May 22, 2022
* main: (175 commits)
  Support `[formmethod]` overrides to `_method` (hotwired#239)
  call ActionView::RecordIdentifier.dom_id explicitly (hotwired#333)
  removed a handful of extra 'the' in method descriptions (hotwired#334)
  Fix missing `activejob` dependency (hotwired#331)
  Document the turbo_frame_tag helper with multiple arguments (hotwired#329)
  Add possibility to nest turbo frames (hotwired#296)
  Fix breaking in non-Zeitwerk environment (hotwired#304)
  Problem: inability to pass additional parameters to stream channels (hotwired#308)
  Fix CI with Rails main (hotwired#314)
  add targets to assert_{,no_}turbo_stream (hotwired#321)
  fix tests for rails 7.0 (hotwired#320)
  Test on Rails 7.0
  Use where on Windows instead of which (hotwired#299) (hotwired#300)
  Bump version for 1.0.1
  Upgrade @rails/actioncable to 7.0.1
  Bump @rails/actioncable dependency to ^7.0
  Add Turbo::Broadcastable support for #broadcast_render and #broadcast_render_to (hotwired#298)
  fix a little typo for wrong constant name (hotwired#290)
  Bump version for 1.0.0
  Make clear this is included by default in Rails 7
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants