I am having this error when trying to bundle install. From what I understand it says activeadmin gem depends on metasearch 0.9.2 and metasearch gem depends on activerecord 3.1.0 but rails 4.1.0 depends on activercod 4.1.0. so what is my course of action for this?
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activeadmin (>= 0) ruby depends on
meta_search (>= 0.9.2) ruby depends on
activerecord (~> 3.0.0.rc2) ruby
rails (= 4.1.0) ruby depends on
activerecord (4.1.0)
We're currently working on 1.0.0, which as far as dependencies, moves
us from meta_search to Ransack and adds Rails 4 support. You can get
Rails 4 and 4.1 support by tracking master:
gem 'activeadmin', github: 'activeadmin'
https://github.com/activeadmin/activeadmin
Related
im a noob. i need help.
im trying to install Redmine CRM plugin however im getting an error when i run this:
bundle install --without development test
it says:
Bundler could not find compatible versions for gem "i18n":
In Gemfile:
rails (= 4.2.0) ruby depends on
railties (= 4.2.0) ruby depends on
activesupport (= 4.2.0) ruby depends on
i18n (~> 0.7) ruby
money (~> 5.1.0) ruby depends on
i18n (~> 0.6.0) ruby
Redmine CRM plugin has to be upgraded to newer versions of redmine in parallel. I recommend to upgrade redmine first (with an empty plugins directory) and then add the redminecrm plugins and upgrade them too.
Redmine CRM Plugin 4.0.3 is compatible with Redmine 2.6-3.1
Older versions of the Redmine CRM Plugin installed on Redmine 3.1 result in the error you posted.
In your Gemfile, manually specify I18n gem like
gem 'I18n', '~0.6.0'
I've created a new gemset, then, when I try to bundle install, I get this error:
Bundler could not find compatible versions for gem "jquery-ui-rails":
In Gemfile:
activeadmin (>= 0) ruby depends on
jquery-ui-rails (~> 5.0) ruby
alchemy_cms (~> 3.0.0.rc5) ruby depends on
jquery-ui-rails (4.1.1)
Although, I've apt-get update, any help?
remove the version constrain from alchemy_cms in Gemfile and run:
bundle update
I have a Rails 4 project and use activerecord-sqlserver-adapter. The readme installation suggests:
gem 'tiny_tds'
gem 'activerecord-sqlserver-adapter', '~> 4.0.0'
However, bundle install returns:
Resolving dependencies...
Could not find gem 'activerecord-sqlserver-adapter (~> 4.0.0) ruby' in the gems available on this machine.
rubygems.org show the latest version as 3.2.12. How can I bundle install version ~> 4.0.0 as 3.2.12 only supports ActiveRecord 3.x?
Why not just Source version 4.0.0 of activerecord-sqlserver-adapter directly from Github.
In Gemfile
Replace
gem 'activerecord-sqlserver-adapter', '~> 4.0.0'
With
gem 'activerecord-sqlserver-adapter', '~> 4.0.0', :git => "git://github.com/rails-sqlserver/activerecord-sqlserver-adapter.git"
They have not provided support for Rails 4 yet, you can try below gem to obtain same thing.
sudo gem install sic-activerecord-sqlserver-adapter
This will work with Rails 4 definitely, i have tried this. thanks.
It says that the adapter is missing.
You should install ruby-odbc and it should work.
gem 'ruby-odbc', '0.99995'
When creating a new Rails 4 app the default Gemfile has this in the gem list:
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
This despite that the last official version of uglifier being 2.4.0
Am I missing something here or why the discrepancy in versions?
The bundler version specifier '>= 1.3.0' means at least version 1.3.0 should be accepted. In other words, using the current version 2.4.0 is just fine.
In fact, that's the installed version you're going to have when starting a new application from scratch. Just check your Gemfile.lock file for the actual installed versions of gems in your bundle. You'll probably find something like this:
uglifier (2.4.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
Which means you have uglifier 2.4.0.
More info: http://guides.rubygems.org/patterns/#pessimistic_version_constraint
Someon are using globalize3 with rails4.
How you configure it?
i tryed to install, on my Gemfile:
gem 'globalize3', github: 'svenfuchs/globalize3', branch: 'rails4'
but i have these errors:
Bundler could not find compatible versions for gem "railties":
In Gemfile:
globalize3 (>= 0) ruby depends on
railties (~> 3.0) ruby
coffee-rails (~> 4.0.0) ruby depends on
railties (4.0.0)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
globalize3 (>= 0) ruby depends on
rails (~> 3) ruby
rails (4.0.0)
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
rails (= 4.0.0) ruby depends on
actionpack (= 4.0.0) ruby
simple_form (~> 3.0.0.rc) ruby depends on
actionpack (4.0.0.rc1)
The globalize3 gem has been renamed globalize and major version numbers now correspond to the corresponding version of ActiveRecord (3.x for AR3 and 4.x for AR4).
So all you need to do is put this in your Gemfile, and you should not get any conflict:
gem 'globalize', '~> 4.0.0.alpha.2'
See also the github repository for more details.
Try this use these 2 lines at your Gemfile:
gem 'paper_trail', github: 'airblade/paper_trail', branch: 'rails4'
gem 'globalize3', github: 'svenfuchs/globalize3', branch: 'rails4', ref: 'ffb5c771b9'
Use this. Paper_trail merged rails4 into master branch.
gem 'globalize3', github: 'svenfuchs/globalize3', branch: 'rails4'
gem 'paper_trail', github: 'airblade/paper_trail', branch: 'master'
This worked for me:
gem 'globalize', '~> 4.0.2'
Please check on the latest instructions here:
https://github.com/globalize/globalize#installation