Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,18 @@ RailsStats mainly adds the ability to be run from outside the project in questio

### Run it outside Rails project

```bash
You will need a `Rakefile` in the directory where you call `rake` and you will
need to require `rails_stats`:

```ruby
# Rakefile
require "rails_stats"
```

$ bundle exec rake stats[/path/to/app/]
Then you can call it:

```bash
$ rake stats\[/path/to/app/\]

Directory: /path/to/app/

Expand Down