-
Notifications
You must be signed in to change notification settings - Fork 59
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
Latest Ruby/Rails issue... #22
Comments
I was able to replicate this without Rails by copy pasting the code from the readme and changing to my credentials, see a partial stacktrace below:
|
this is an issue with crack jnunemaker/crack#42 |
How about instead of just closing the issue, you drop back to a version of crack that does not introduce this regression. This seems to be a common response in open source software these days where the finger is simply pointed elsewhere. The facts are, asin is broken for people. You have control over what dependencies to use, and which versions of them to use. Could you please reopen and fix this? |
I agree here too. |
the isse seems to be related to changes in ruby, so what should i do about that? kurtfunai commented 16 days ago Changing my local version back to 1.9.3-p385 fixed the issues I was experiencing. |
WeLike, while i do agree with your general assessment of certain gem developers finger pointing instead of fixing, phoet is right about ruby breaking stuff. The latest release of Ruby had a security fix that made crack incompatible. The crack team has been unresponsive in fixing this (it's a 1 line code change.) If you want to fix ASIN on the latest version of ruby, you can use my fork of crack which has the fix for crack. https://github.com/RichIsOnRails/crack That's how I ultimately got things running again. |
guys, this software is opensource and i dedicate my spare time to maintain it. unless you know me in person, please do not post such stuff in the issues. it is not an issue with the library, its a thrd party dependency and i am not maintaining windows at all. so if you want to fix this i am happy to integrate your pull requests as fast as i can. |
I think you are missing our point. Most of us are involved in open source, and can appreciate your time and efforts here. The point we are making is that as a gem maintainer, you have the opportunity to define your dependencies and lock them to known working versions. You have chosen to lock the third-party dependency to a version that is broken, and thus indirectly you are also held accountable for it breaking. It seems strange to me that you feel it's ok that there is a broken dependency that only works in some environments under very strict conditions (a particular ruby version). You should be working with the third-party dependency's team to resolve this (since as users, we can only complain, or submit a fork's pull request with a gem dependency change), but also in the mean time mitigating the issue by locking to a previous version of the third-party dependency that does not have this regression. As a consumer of the third-party gem, you have more clout than we do as complaining users of your gem. Their lack of attention to the issue is proof of this :( Again, I'm not being critical of you as a person (despite how I may be presenting myself here), and do appreciate your efforts and time that you have spent to make this project available to all of us. |
instead of compaining you could just submit a patch with a less strict dependency to the broken library like it was done before #13 |
I'm going to jump onto @phoet's side here. It was the newest release of ruby that caused an issue with the crack gem, and developers have been discussing this change (and submitted a pull request) to fix the issue. So far that change has not been accepted. If you'd like to see this fixed, please make a comment in the pull request on the crack gem. |
@phoet savonrb/nori#37. why not require |
@phoet i could submit a pull request right here from github 😚 |
@rubiii hey, its nike calling "just do it" |
there is a new version here: https://rubygems.org/gems/asin/versions/1.1.2 |
🎉 |
Awesome! |
Ruby 1.9.3p392, Rails 3.2.13, I get the following error on some products:
uninitialized constant REXML::Text::Document
The line that causes it is this:
@Items = client.lookup @item.asin
client is client = ASIN::Client.instance
The text was updated successfully, but these errors were encountered: