-
Notifications
You must be signed in to change notification settings - Fork 35
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
NameError: uninitialized constant YAML #105
Comments
Receiving similar error after updating cdq to 1.0.4 <Warning>: yaml.rb:28:in `load:': wrong number of arguments (-1685773368 for 0) (ArgumentError)
<Warning>: yaml.rb:28:in `load:': wrong number of arguments (-1685773368 for 0) (ArgumentError)
<Error>: *** Terminating app due to uncaught exception 'ArgumentError', reason: 'yaml.rb:28:in `load:': wrong number of arguments (-1685773368 for 0) (ArgumentError) |
I'm getting this error as well, @kemiller - but only on the evice... simulator works fine for some odd reason.
I've tried downgrading and running all the way down to |
It's a really bizarre error. How can anyone be passing negative arguments to a method? |
No idea... and it's strange that it's only happening on the device. I'm locked at RM 3.12 but i'll try and use the most recent version to see if it still happens. |
yeah, makes me wonder if there's an RM bug |
The method in question that's unhappy with its argument count is an Objective C method, and it's loaded from a precompiled .a file. Two versions, one for OS X and one for iOS, which would partly explain the difference you're seeing between sim and device. |
Updating to the latest RM and using CDQ from github/master i get:
Reverting back to RM 3.12 and doing a Reverting to 1.0.4 and even lower I get the error referenced here: infinitered/redpotion#130 |
Fixed: Add this to your gemfile: gem "cdq", "1.0.6"
gem "motion-yaml", "1.4" Seems as thought motion-yaml had some updates that have broken CDQ. Maybe we should hardcode this into the gemsec? |
@markrickert fix also correct my issue |
Sweet. Now to figure out what motion-yaml changed between then and now so we don't have to rely on an old version in CDQ... |
In RedPotion, I set this int he template's gemfile. |
Hi,
not totally sure if it's a cdq issue... but well...
after an update to cdq 1.0.3, I receive this error
The error is not due to pod:update, any rake call abort
The text was updated successfully, but these errors were encountered: