-
Notifications
You must be signed in to change notification settings - Fork 209
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
Rails 4.0.0 #49
Comments
Yes, i need to try it on the 4 series and issue a new release |
Now should be ok in master |
no, now get this message Bundler could not find compatible versions for gem "activerecord":
|
Oh snap! Fixing |
Wait, I think the problem is with AA itself, try getting the version from master and check if it's compatible with Rails 4 |
yes @elia I removed activeadmin-mongoid and get activeadmin only it has this problem even rails4 branch, thanks |
hi , when i try bundle install this fail with error: Bundler could not find compatible versions for gem "actionpack":
|
You must get activeadmin from the git # (in your Gemfile)
gem 'activeadmin', github: 'gregbell/activeadmin', branch: 'rails4' |
Same error: Updating git://github.com/elia/activeadmin-mongoid.git
My Gemfile : gem 'activeadmin-mongoid', git: 'git://github.com/elia/activeadmin-mongoid.git' Why ? |
Solved I have replace
with
Now work |
@DanielePalombo I checked @iameen's fork and applied his changes to master. It should be fine now. |
Bundler could not find compatible versions for gem "actionpack": In Gemfile:
|
I tried locally and seems to be good, maybe you need to source 'https://rubygems.org'
gem 'rails', '4.0.0'
gem 'mongoid', github: 'mongoid'
gem 'sass-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end |
hi
|
oh snap! I'll include specific tests for rails 4 + activeadmin@master, adding the
|
work with :
but now i receive :
|
Solved! |
The gemspec still depends on jquery-rails < 3.0, but the rails4 branch of activeadmin uses the following, so there's a bundler conflict: s.add_dependency "jquery-rails", ">= 3.0.0"
s.add_dependency "jquery-ui-rails", ">= 4.0.0" |
@DanielePalombo @jarinudom can you confirm that master works fine? |
i tested and when run rails s i receive this error: /gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- meta_search/method (LoadError) caused by lib/meta_search/searches/mongoid.rb:2 |
I also have same issue. It because |
Should we maybe start looking at switching to Ransack? It's the Rails 3+ successor to meta_search. |
Not exists ransack for mongoid ?!?!?! |
Oh shoot, you are right. Never mind. |
Many days ago i tried integrate ransack-mongoid without succes . exist |
Bundler could not find compatible versions for gem "actionpack":
Gemfile:
|
Ok, I'm going to force rails 4 and mongoid 4 in the gemspec, this will hopefully sort out all version issues |
I get the following:
In my Gemfile:
|
@zlatio try with and make sure your gemfile also includes the following: gem 'rails', '~> 4.0'
gem 'activeadmin', github: 'gregbell/active_admin'
gem 'activeadmin-mongoid', github: 'elia/activeadmin-mongoid', branch: 'rails4'
gem 'mongoid', github: 'mongoid/mongoid' |
Thanks bundle install succeed, but now I get
I commented out everything in
Seems to work now but I'll make additional tests |
@zlatio good! The rails4 branch is quite experimental (considering it uses unreleased versions of both activeadmin and mongoid). Any feedback/fix/tip/pull-request are really appreciated! :) |
gemfile: https://github.com/i5okie/redress/blob/development/Gemfile Bundler could not find compatible versions for gem "jquery-rails":
Bundler could not find compatible versions for gem "mongoid":
|
can you retry and paste the output after installing bundler's prerelease version?
|
same output...
|
I changed gem file to include this instead:
output:
|
i tried changing my gemfile to:
and it doesnt work.. try this:
|
try this:
(I'm just guessing though) |
I have this in Gemfile:
And I'm getting:
|
@h4rrison-james can you retry and paste the output after installing bundler's prerelease version?
|
# Database
gem 'mongoid', git: 'https://github.com/mongoid/mongoid.git'
gem 'mongoid_slug'
[...]
# Administration
gem 'activeadmin-mongoid', github: 'elia/activeadmin-mongoid', branch: 'rails4'
This is the output with the prerelease of bundler |
Deleting |
I'm getting the same error as iDuuck. Deleting Gemfile.lock doesn't help. Any ideas how to fix it? |
@mzubala be sure to update bundler to |
@elia I'm using 1.6.1. This is complete output I get:
|
try updating, should be fixed by cbbffb2 |
Now I get:
|
I've managed to get it working by:
unfortunately filters are not working so I also had to do
@elia is there any way to make filters work? |
not, sure, never been a filter user myself in mongoid land, so I don't know mzubala/activeadmin-mongoid@2f6991a...6dd0548 I see the changes, I'll fix the dep on mongoid and make it point right to beta1, also I can remove the version on activeadmin |
Looks like it tries to grab some rails 3 active admin version any way. I'm not sure how to force it to grab the latest github version of activeadmin. If you remove the version of activeadmin completely it also tries to get some previous release. Only removing activeadmin dependency and adding it to my Gemfile worked for me so far but probably there is some more elegant way. |
I suggest to add back:
and eventually I'll add a note on the readme |
get this errors with rails 4.0.0 and mongoid 4.0.0
The text was updated successfully, but these errors were encountered: