-
Notifications
You must be signed in to change notification settings - Fork 205
symlink() function is unimplemented on this machine error in windows #114
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
Comments
I do not own a Windows machine and can't fix this issue. Any help here would be welcome. |
http://www.ember-cli.com/#symlinks-on-windows says it's an access control policy issue, i.e. run as admin, or failing that have the plugin fall back on copying files when symlinking isn't available. |
@nruth this issue has nothing to do with ember-cli |
The issue here is that windows doesn't support symlinks in the same way. See my PR #136 which solves this issue (based on my tests) using the |
@rwz OK, I'll leave you to it then. |
I can create a branch and start working on windows support. However I need people to voluntarily help me testing it since I don't own a Windows machine. |
I want to volunteer for testing on Windows. I am currently using it and had to make changes to ember-cli-rails-0.3.5 to make it work on Windows. I had to implement #114 with a change to ember-cli\app_win.rb @ember_path ||= app_path.join NEW: ember_path ||= Rails.root.join I also had change to the ember-cli\runner.rb because Process.getpgid is not supported on Windows. def still_running? Process.getpgid app.pid true rescue Errno::ESRCH # no such process false end NEW: def still_running? Process.kill 0, app.pid true rescue TypError #Errno::ESRCH - no such process, Errne::EPERM false end |
We're sorry that this issue has sat for so long. The project is now maintained by thoughtbot, and we're declaring an issue bankruptcy of sorts. We're closing this issue. If what you've described is still a problem, please comment on this issue and we'll reopen. @JanJacobs those changes look promising, would you mind opening a PR to help with windows support? Thanks for your patience. |
👍 Still have this problem on windows 7 using Rails 4.2.4 and ember-cli-rails 0.5.3 with corresponding ember-cli-rails-addon |
Fixes [#114]. Inspired by [How to Test Ruby Projects on Windows][post]. [#114]: #114 [post]: https://mattbrictson.com/how-to-test-ruby-windows
Fixes [#114]. Inspired by [How to Test Ruby Projects on Windows][post]. [#114]: #114 [post]: https://mattbrictson.com/how-to-test-ruby-windows
Fixes [#114]. Inspired by [How to Test Ruby Projects on Windows][post]. [#114]: #114 [post]: https://mattbrictson.com/how-to-test-ruby-windows
Would anyone still seeing this problem pleae try out:
Each of those branches has up-to-date README's. |
Unfortunately I still get the Gemfile:
and package.json from ember:
Running on 64-bit Windows 7 Professional Service Pack 1 |
I implemented the changes from swelham Additionally I had to make the following changes ember-cli\app_win.rb @ember_path ||= app_path.join NEW: ember_path ||= Rails.root.join I also had change to the ember-cli\runner.rb because Process.getpgid is not supported on Windows. def still_running? Process.getpgid app.pid true rescue Errno::ESRCH # no such process false end NEW: def still_running? Process.kill 0, app.pid true rescue TypError #Errno::ESRCH - no such process, Errne::EPERM false end I using 64-bit Windows 10 Pro. |
@wjdhamilton it sounds like you're running off of To run the branches I suggested, you'll need to modify your # Gemfile
gem 'ember-cli-rails', github: 'thoughtbot/ember-cli-rails', branch: 'remove-sprockets' {
"devDependencies": {
"ember-cli-rails-addon": "rondale-sc/ember-cli-rails-addon#remove-sprockets",
}
} |
@JanJacobs thanks for sharing those Windows fix proposals. Unfortunately, I don't have access to a Windows machine to verify their validity. There is a branch that introduces AppVeyor for CI testing: Would you mind helping to create windows versions of:
Once we have setup parity across platforms, we can start to ensure the Windows version behaves the same as other Operating Systems versions. |
I want to help, yes please. |
@seanpdoyle I've just tried a fresh app with the two links that you suggested, however the app now reports: |
@wjdhamilton did you ever find the solution to this problem? I'm trying to hand over an app I wrote on a Mac to a Windows dev and he is getting the same error, been stuck on this for ages! |
Unfortunately not - I bought a mac when Rails stopped working properly on Windows and never looked back! @wjdhamiltonhttps://github.com/wjdhamilton did you ever find the solution to this problem? I'm trying to hand over an app I wrote on a Mac to a Windows dev and he is getting the same error, been stuck on this for ages! — |
@1vanhelsing1 if you're still trying to hand this over to a windows dev, as of the 14942 build of the win 10 insider preview, you can now use ember-cli in windows bash. I recommend having that be the official answer and close this issue. |
When I try to use ember-cli-rails in windows, the following exception error when visit the url:
Running in Windows 7 Enterpise with administrator right
The text was updated successfully, but these errors were encountered: