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
Adding the gemfile instructions for Rails 4.1 #3466
Conversation
Adding only gem 'activeadmin' in the Gemfile, for Rails 4.1 does not do the job. The above four lines need to be added to make sure that activeadmin get's added, without any errors, when `bundle install` is run.
@icyflame That informations are out of date: |
I just siddharth@ubuntu:blog-rails$ bundle install
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies.....
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.6) ruby depends on
activerecord (4.1.6) I am using Rails 4.1.6 (as seen above) On some googling, I found that adding this solves the problem. And as noted before, adding these four lines does solve the problem. |
@icyflame You need to do this: gem 'activeadmin', github: 'activeadmin' This is described in the Readme State of the project 1.0 section. |
Okay! Thanks! |
@timoschilling As I am behind a HTTP proxy, I am using: gem 'activeadmin', :git => 'https://github.com/activeadmin/activeadmin.git' This works. Will using this ensure that the latest version is installed if I run the bundler? |
Not if you run |
I just tested it. It works with Best Regards, Siddharth Kannan, On Thu, Oct 9, 2014 at 8:27 AM, Timo Schilling notifications@github.com
|
Yes on the first |
@timoschilling Thanks a lot! Do you consider that this technique should be added to the README? SInce this seems to be the only way to work with ActiveAdmin, when working from behind a HTTPS proxy. |
@icyflame I don't think so, that is knowledge about Bundler not about ActiveAdmin. |
Adding only
gem 'activeadmin'
in the Gemfile, for Rails 4.1 does not do the job.The above four lines need to be added to make sure that activeadmin get's added, without any errors, when
bundle install
is run.