Open AmitChotaliya opened 1 year ago
I'm receiving the same error. I reinstalled Rails 6.0.0 and then received this error after running bundle install.
`Fetching gem metadata from https://rubygems.org/......... Resolving dependencies.... Bundler could not find compatible versions for gem "acts_as_commentable": In Gemfile: acts_as_commentable (~> 4.0, >= 4.0.2)
fat_free_crm (~> 0.20.1) was resolved to 0.20.1, which depends on
acts_as_commentable (~> 6.0.0)
Could not find gem 'acts_as_commentable (~> 6.0.0)', which is required by gem 'fat_free_crm (~> 0.20.1)', in rubygems repository https://rubygems.org/ or installed locally.
The source contains the following gems matching 'acts_as_commentable':
Yes, I solved this in my rails project with FFCRM as engine, by adding the following to the main project Gemfile:
gem 'acts_as_commentable', git: 'https://github.com/fatfreecrm/acts_as_commentable.git', branch: 'rails-61'
The issue appears to be the fact that gemspec files don't allow pegging to git or git branches (correct me if I'm wrong on this!) So in this case, fat_free_crm.gemspec
can't peg acts_as_commentable
to branch rails-61
. Perhaps we could release our version of acts_as_commentable as a gem and peg to that. I see there have been attempts to get Zendesk to update upstream, but they haven't done anything.
Thanks for porting it, @CloCkWeRX
Environment:
Ruby: 2.7.5 Rails: 6.1.7 OS: Ubuntu Bundler: 2.3.10
I have created a new rails project. Added fat-free-crm gem dependency. While running
bundle install
I am getting the following error.I was also getting the following error a while ago.
I tried everything. Cleanup the gemset, changing rails version, bundler version. Nothing works.