Comments (4)
Can you explain what you mean by the gemspec should specify the same Ruby Version? I don't want to specify version 0.11.0 absolutely. I could specify it as a minimum but not as the absolute version, in case people want or need to use newer versions of HTTParty.
I've been considering dropping the dependency all together. I've not had time just yet.
from gibbon.
Well the gemspec settings of HTTParty specifies a minimum Ruby version. This is why it was failing in my configuration.
To be honest since your gem does not give a specific (or minimum httparty version), Gem should try the last one but fallback to a lower version of httparty if the last one failed because of Ruby version. Maybe there is an option for this, I don't know.
The idea is that in the current state of your gemspec, Gibbon IS dependent on Ruby 1.9.3 because httparty is. If you give this version of Ruby in the gemspec, my install would instead load a previous version of Gibbon which is compatible with Ruby 1.9.2.
I agree this is not a good option because anyway the previous versions of Gibbon are probably set with an undefined version of httparty as well. It would solve nothing. I did not think about this at the time.
Regarding the other option (defining the gem version), I never suggested you should give an absolute version. Of course the minimum version is better. I was just mentioning the version in order to let you know which one worked. I don't know the internals of Gem, but maybe when the minimum is specified, it tries to fallback to this one because it is known to work.
All in all dependency management is a hard thing to deal with and I certainly did not want to force anything, I was just trying to help.
Thank you.
from gibbon.
I see, sorry for misunderstanding. I say I support 1.9.x so I'd definitely like to fix it. I'm just not sure how -- that's why I asked. Setting a minimum Ruby version of 1.9.3 would prevent others from running into this but it doesn't really fix your problem. I'll look into whether one can specify dependencies by Ruby version as soon as I get a chance..
from gibbon.
Closing this - as it's no longer relevant. Apologies for not figuring out a worth while solution. Gibbon v2 is out now.
from gibbon.
Related Issues (20)
- pass the content in campaign
- Cannot set faraday_adapter globally HOT 3
- Uninitialized constant Faraday::Error::ClientError HOT 3
- Changelog updates for 3.3.2 HOT 2
- NameError: uninitialized constant Faraday::Error::ClientError HOT 3
- Rescued errors come back with all nil values? HOT 8
- Got error saying api_key not found HOT 1
- gibbon report issue
- How to send campaign emails to some specific users? HOT 1
- How to delete a member from a list? HOT 5
- How to add member in the segment of a list ?
- Faraday 1.x.x compability HOT 2
- Deprecated warning on Faraday::Connection#basic_auth HOT 4
- 3.4.1 Causes 401: API Key Invalid HOT 7
- updating members in batching does not work HOT 1
- Gibbon doesn't work with Faraday 2.x HOT 4
- How to unsubscribe email that is bounced, pending, or archived? HOT 3
- v3.4.4 security patch for v3.4.0? HOT 1
- API Export 1.0 and API 2.0 will be retired on June 5, 2023 HOT 11
- Updating from 1.x: How to replace .lists.merge_var_add? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gibbon.