Skip to content

Commit 09774bc

Browse files
committed
Move usual ActiveAdmin deps to gemspec
1 parent 2fc4ce2 commit 09774bc

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,21 @@ For more on Mongoid support in ActiveAdmin see [this issue](https://github.com/g
1212

1313
Add this line to your application's Gemfile:
1414

15-
gem 'activeadmin-mongoid'
15+
```ruby
16+
gem 'activeadmin-mongoid'
17+
```
1618

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

19-
$ bundle
21+
```ruby
22+
gem 'activeadmin'
23+
gem 'meta_search', '>= 1.1.0.pre'
24+
gem 'sass-rails', ['~> 3.1', '>= 3.1.4']
25+
```
2026

21-
Or install it yourself as:
27+
And then execute:
2228

23-
$ gem install activeadmin-mongoid
29+
$ bundle
2430

2531

2632
## Contributing

activeadmin-mongoid.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ Gem::Specification.new do |gem|
1818

1919
gem.add_runtime_dependency 'mongoid', '~> 2.0'
2020
gem.add_runtime_dependency 'activeadmin', '~> 0.4'
21+
gem.add_runtime_dependency 'meta_search', '>= 1.1.0.pre'
22+
gem.add_runtime_dependency 'sass-rails', ['~> 3.1', '>= 3.1.4']
2123
end

0 commit comments

Comments
 (0)