-
Notifications
You must be signed in to change notification settings - Fork 203
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
Psych.load doesn't work on Heroku #55
Comments
What version of Ruby are you running on your local machine? |
ruby-1.9.2-p290-railsexpress [ x86_64 ], a patched ruby installed via rvm |
Oh, and I don't have the psych gem installed. Ruby 1.9.2 comes with Psych, right? Or where is it coming from otherwise? |
With ruby-1.9.3-p0 it works too (without the gem installed). |
Ya, it's in 1.9.2. It seems like somehow you're doing a |
Okay, I was suspecting the localeapp gem as I found the error through that, but it doesn't have require 'psych' anywhere, neither does my rails app... |
I'm guessing that some library code (possibly rails?) is doing it in development but not production. Can you try adding a |
See this issue: Locale/localeapp#27 |
Hm, require 'psych' doesn't work on Heroku, it gives me "LoadError: no such file to load -- psych" locally it works though... |
Seems like they don't have it installed for Ruby 1.9.2. I think this should be fixed in localeapp. Checking for the Psych constant isn't the best way to detect if Psych has been loaded or not. I'll comment on that issue with how to fix. |
Thanks, I guess we can close this then? |
I am also getting same error of "LoadError: no such file to load -- psych" on heroku with ruby 1.9.2. Is there any way i can fix it? |
In my Rails 3.2.2 app
works fine in my local (production) console. But in on Heroku (cedar stack, ruby 1.9.2) I get this error:
The text was updated successfully, but these errors were encountered: