Learn How to Install Active_admin Gem on Rails 4 Framework?

Well We all knows thats, Every Site need a Backend, And According to me, There are two Backend
Frameworks for Ruby On Rails,

1.Rails_Admin (This is Perfectly works with Rails 4, but It's not a Powerful Framework like Active_Admin.

2. Active_Admin ( But Now A Days, Lots of Users feels difficulty to install these gems, because of Rails 4? Yes I'm talking about Active_Admin Gem..)

Active_Admin Gem, Is No Doubt such a useful gem, where you can controller your all backend without any headache.

But the Question is Active_Admin is not installing easily on Rails 4, Getting errors. Like

Bundler could not find compatible versions for gem "activerecord":  In Gemfile:    activeadmin (>= 0) ruby depends on      activerecord (~> 3.0.0.rc2) ruby
    rails (= 4.0.0) ruby depends on      activerecord (4.0.0)

and so on.... SO, Simply Just open your Gemfile and add these four gem list without any change..
gem 'activeadmin',         github: 'gregbell/active_admin'
gem 'ransack',             github: 'ernie/ransack'
gem 'inherited_resources', github: 'josevalim/inherited_resources'
gem 'formtastic',          github: 'justinfrench/formtastic'
and Now Run Command,
bundle install
that's it. no need to do anything else.

If you feel any problem, just reply.

Tags: Ruby on Rails Tutorials, Ruby on Rails Videos, Ruby Gems, Gems Use trick, Ruby code, Rails servers

Comments