Skip to content

turbo:install:redis redis_installed? doesn't work on Windows #299

@mohits

Description

@mohits

Installing rails and doing a rails new on Windows works perfectly well with one warning/ error that comes up when the rails new is running.

The system cannot find the path specified.

I have been able to track it down to redis_installed? at:

system('which redis-server > /dev/null')

The output is redirected to dev/null causes Windows to output that line (and of course, even if that was not the case which is not available on Windows).

As @dhh noted in #225 (comment) "it doesn't have to work perfectly everywhere" and I can confirm it does not :)

Just raising it here. Also, I have documented this on my post about Rails 7 + Windows that people don't need to worry too much about whether Rails was set up properly when they see that message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions