Skip to content
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

Can't build on Windows #44

Open
StrangeWill opened this issue Apr 3, 2016 · 2 comments
Open

Can't build on Windows #44

StrangeWill opened this issue Apr 3, 2016 · 2 comments

Comments

@StrangeWill
Copy link

All setup scripts are expecting we're on *nix

@t-richards
Copy link
Contributor

@StrangeWill: Which setup script(s) are you having trouble with, and what error messages are occurring? Things like bin/setup appear to be pretty vanilla as far as I can tell: https://github.com/rails/rails/blob/v4.2.6/railties/lib/rails/generators/rails/app/templates/bin/setup

Hmm... Most stubs in the bin/ directory have #!/usr/bin/env ruby at the top -- unless Windows can interpret this, it means you're pretty much on your own as far as setup scripts go. Try reading through bin/setup and substitute your platform-specific commands where appropriate. Regular ruby/gem/bundler commands should work properly so long as your Ruby install is sane. As for the others, you could consider trying...

*nix                  win
$ bin/rake            > bundle exec rake
$ rm -rf              > rmdir /s /q

@StrangeWill
Copy link
Author

unless Windows can interpret this, it means you're pretty much on your own as far as setup scripts go.

Bingo, I had to add support for Windows to chadev's main site too, I don't think it'll be a problem to be honest. I'm just noting this in case anyone else tries to do this.

Currently I just skipped all the scripts in bin/ and did my stuff manually, but I really should come back and see if I can't add multi-platform support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants