-
Notifications
You must be signed in to change notification settings - Fork 205
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
[CLI] Won't compile if path contains spaces. #498
Comments
Upon further diving, I've found that if you add
|
We had a similar issue on Lucky: luckyframework/lucky_cli#147 It is actually a problem in Crystal that has likely been fixed by crystal-lang/crystal#5543 So hopefully the next Crystal release will fix this :D |
@paulcsmith ow! |
Thanks @paulcsmith |
@amberframework/contributors Is this issue already fixed? |
Current behavior:
I guess the error message is more helpful than just breaking, but Amber shouldn't have an opinion on how people name the folders on their machines. |
I don't think it's fixed yet. I believe there's a fix in the next version of crystal for this as it's not actually something uniq to amber. |
Any status on this? |
@eliasjpr still an issue on amber, although crystal looks good 😅
|
We are providing an error message to let the user know this isn't allowed. If we feel we need to support spaces, we can reopen this. |
Description
If the full path to the current project directory contains any spaces, then amber can't build the project. Originally reported by @elorest
Steps to Reproduce
Spaces in parent path(s)
Spaces in project path itself
Expected behavior:
amber w
succeedsActual behavior:
Reproduces how often: Always
Versions
Additional Information
Even just
crystal build src/test3.cr
fails.I was able to narrow it down line 25 in
config/routes.cr
:When the
get "/" ...
line is commented out then the project builds properly.The text was updated successfully, but these errors were encountered: