Skip to content

Installing admin_data in a Rails 3 project

sc0ttman edited this page Mar 5, 2013 · 10 revisions

If you are using Rails 3 then add the following line to your Gemfile

gem 'admin_data'

If you want to use the edge version of admin_data then add following line to your Gemfile.

gem 'admin_data', :git => 'git://github.com/bigbinary/admin_data.git'

Then bundle install it

bundle install

And then start the server

rails server

And then visit http://localhost:3000/admin_data

Note, if you are deploying to Heroku, you must make sure to change this setting in your config/environments/production.rb

  # Don't fallback to assets pipeline if a precompiled asset is missed
  config.assets.compile = true

Also note that the plugin version of admin_data which worked in Rails 2.3.x project will not work in Rails3. In a Rails3 project you must use the gem version.