Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

fix tailwindcss-rails support on Windows #252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
espinosa opened this issue Mar 2, 2023 · 1 comment
Closed

fix tailwindcss-rails support on Windows #252

espinosa opened this issue Mar 2, 2023 · 1 comment

Comments

@espinosa
Copy link

espinosa commented Mar 2, 2023

Hi,
I try to support this gem on Windows plateform.
I have detected 2 problems:

  1. bin/dev is a linux shell command
    I suggest to add a new file named bin/dev.bat
@echo off

set gem_installed=

for /f "delims=" %%a in ('gem list foreman -i') do @set gem_installed=%%a

if %gem_installed%==false (
  echo "Installing foreman..."
  gem install foreman
)

foreman start -f Procfile.dev %*
  1. command bin/rails in Procfile.dev is not recognized
    Replace bin/rails by ruby bin/rails
    I suggest to create a file named Procfile.dev.windows and copy this file only if windows platform.
    Problem: I don't have found where the copy of files are done.
    Can somebody help me ?
    After this I can submit a pull request.
    Best regards.
@espinosa
Copy link
Author

espinosa commented Mar 4, 2023

I have found where the copies are done. I will submit a pull request soon.

@espinosa espinosa changed the title Need help to fix tailwindcss-rails support on Windows fix tailwindcss-rails support on Windows Mar 4, 2023
espinosa added a commit to espinosa/tailwindcss-rails that referenced this issue Mar 4, 2023
@rails rails locked and limited conversation to collaborators Jan 7, 2024
@flavorjones flavorjones converted this issue into discussion #311 Jan 7, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant