Skip to content

Commit

Permalink
Move usual ActiveAdmin deps to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Mar 17, 2012
1 parent 2fc4ce2 commit 09774bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,21 @@ For more on Mongoid support in ActiveAdmin see [this issue](https://github.com/g

Add this line to your application's Gemfile:

gem 'activeadmin-mongoid'
```ruby
gem 'activeadmin-mongoid'
```

And then execute:
You can safely remove the following lines, since are already activeadmin-mongoid dependencies:

$ bundle
```ruby
gem 'activeadmin'
gem 'meta_search', '>= 1.1.0.pre'
gem 'sass-rails', ['~> 3.1', '>= 3.1.4']
```

Or install it yourself as:
And then execute:

$ gem install activeadmin-mongoid
$ bundle


## Contributing
Expand Down
2 changes: 2 additions & 0 deletions activeadmin-mongoid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Gem::Specification.new do |gem|

gem.add_runtime_dependency 'mongoid', '~> 2.0'
gem.add_runtime_dependency 'activeadmin', '~> 0.4'
gem.add_runtime_dependency 'meta_search', '>= 1.1.0.pre'
gem.add_runtime_dependency 'sass-rails', ['~> 3.1', '>= 3.1.4']
end

0 comments on commit 09774bc

Please sign in to comment.