Comments (6)
Hello - is it an option to upgrade Rails a point release or so? ActionMailer 4.1.6 should support a higher version of Mime-Types: https://rubygems.org/gems/actionmailer/versions/4.1.6
from ruby-sdk.
Are there any plans to update this gem to address this dependency issue? This question is two years old and this is still an problem.
from ruby-sdk.
What version of the SDK are you using? 4.0 removed the mime-type dependency: https://rubygems.org/gems/constantcontact/versions/4.0.0
If you need an older version for some reason, if it's possible for go from Rails 4.1.4 to 4.1.6 or later (assuming your problem is exactly the one above), the mime-type dependency conflict should also go away. Rails 4.1 is out of all support at this point.
from ruby-sdk.
I'm using 4.1.0 and rails 5.1.1. This is the error I'm getting:
Bundler could not find compatible versions for gem "json":
In snapshot (Gemfile.lock):
json (= 1.8.6)
In Gemfile:
constantcontact (~> 4.1.0) was resolved to 4.1.0, which depends on
json (~> 2.1)
fog was resolved to 1.40.0, which depends on
json (< 2.0, >= 1.8)
raygun4ruby was resolved to 2.3.0, which depends on
json
fog was resolved to 1.40.0, which depends on
fog-vsphere (>= 0.4.0) was resolved to 1.10.0, which depends on
rbvmomi (~> 1.9) was resolved to 1.11.2, which depends on
json (>= 1.8)
sdoc (~> 0.4.0) was resolved to 0.4.2, which depends on
json (>= 1.7.7, ~> 1.7)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
from ruby-sdk.
Oh, I see... so we went to json 2 a few releases ago as at the time, 1.x didn't look like it was still being developed. If I relax the dependencies to '>= 1.8' instead of '~> 2.1', you may be in luck here. If I force myself to use 1.8.x, My RSpec tests pass but that's as far as I got.
I'm no longer on the API team at Constant Contact, so I'm unsure when and if those changes can be more properly validated here and merged in, but if you are able to validate and issue a pull request it would be appreciated. I'll forward along to the team either way what the problem is here and apologies for the issues.
from ruby-sdk.
That did indeed solve the problem for me. I issued a pull request. Thank you for the suggestion.
from ruby-sdk.
Related Issues (20)
- uninitialized constant ConstantContact::SDK HOT 3
- Retrieve collection of contacts from a ContactList HOT 1
- batch add_contact method HOT 1
- Add an example for creating new contacts HOT 1
- Change the name (to something without 'sdk') HOT 1
- Stale gem dependency HOT 2
- Account info should include company_logo HOT 1
- Account info should include organization_addresses and time_zone HOT 1
- Incomplete Account info accesors
- Bulk Import needs to support BIRTHDAY_DAY BIRTHDAY_MONTH, ANNIVERSARY HOT 1
- ruby sdk does not have 'state' field for Contacts address HOT 1
- Add CampaignPreview endpoint HOT 1
- Contact result does not contain created_date or modified_date
- Add support for modified since in #get_contacts_from_list
- Dependency issue HOT 11
- Remove Middle Name field
- What is 'Mashery'? HOT 2
- Multi-tenancy support? HOT 3
- Version 4.1.0 does not exist on rubygems HOT 1
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 ruby-sdk.