-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Blank /tests/ember-tests.js in the test suite #799
Comments
@jfturcot How are you trying to run the tests? Your options are to run |
I tried both, the rake task and also with "bundle exec rackup". Both give me the same error. |
@jfturcot I run tests all the time without difficulty. Maybe try running |
I did that and now I am getting the following error while running
Those are the top few lines of the output when I trace it:
I tried with 1.9.2 and 1.9.3 both with a clean set of gems on a Mac, it seems like a character encoding issue, could it be something Mac related? |
This is my setup. I'm on a Mac as well:
|
I am on 1.13 for rvm but I doubt this is what is causing the issue. I will try it on a clean Ubuntu install later today and then try to debug it again in Mac if it only fails in my system. If I manage to fix this issue, I will post on here how I did it just in case someone else run into this issue. I had this problem while trying to test ember-data because I needed to submit a patch, so its not just with ember.js |
Seems like this is the sort of thing @wycats is trying to solve with Tokaido. |
I get nothing for default_internal You are right about Tokaido, I didn't see how I would need it before running into character encoding issues like this. |
My |
Yep! I ran the following in the shell to use UTF-8:
That changed the default encoding to UTF-8, I always thought that since 1.9 UTF-8 was always the default encoding, I guess I have some reading about encoding to do tonight. Thanks a lot for your help! |
I would have thought UTF-8 was default too. Maybe @wycats can chime in on this. |
No, ruby default encoding is binary, unless specified otherwise by the |
I just figured out why my shell was not using UTF-8. This week, I have been testing out the new SSH shell inside of Chrome, I wanted to see if I could replace my MacBook with a Chrome Book connecting to my local machine for developing while im on the road. Well that's what was changing my locale, if I use iTerm2 my shell uses UTF-8. I don't have time to figure out how to make the Chrome SSH plugin use UTF-8, so I will just use iTerm2 for now. So if anyone has character encoding problems while using the Chrome SSH plugin, just use something else for now. You can close this issue, thanks for your time. |
@jfturcot Looks like you can set the |
Yes that fixed it, I am now setting this in my zshrc file and it's now working fine. Thanks once again. |
I have been trying to debug this since yesterday, but I really cannot find the solution and I guess others might run into the same problem so that's why I am asking for some help.
I am trying to run the test suite of the master branch on all the packages and this is what I am getting:
Died on test #1: JSHINTRC is not defined - {}
I realized later that I am getting this error because /tests/ember-tests.js asset returns a blank page, so the var JSHINTRC is never created, which is why I am getting that error when I run the full test suite.
I tried sandboxing the gems to make sure only the gems specified in the Gemfile are installed and I am still getting this error. Is there a gem missing in the Gemfile that's causing this error or is it some external package that's missing on my system (a nodejs package maybe)?
Thanks.
The text was updated successfully, but these errors were encountered: