Skip to content

Commit 4c32bfe

Browse files
committed
README: use bundle exec everywhere (fixes #37)
1 parent 06c9055 commit 4c32bfe

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

README.md

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ Streamline your writing in Jekyll with some commands.
88

99
Add this line to your application's Gemfile:
1010

11-
gem 'jekyll-compose'
11+
gem 'jekyll-compose', group: [:jekyll_plugins]
1212

1313
And then execute:
1414

1515
$ bundle
1616

17-
Or install it yourself as:
18-
19-
$ gem install jekyll-compose
20-
2117
## Usage
2218

23-
Install `jekyll-compose` and run `jekyll help`.
19+
After you have installed (see above), run `bundle exec jekyll help` and you should see:
2420

2521
Listed in help you will see new commands available to you:
2622

@@ -34,37 +30,25 @@ Listed in help you will see new commands available to you:
3430

3531
Create your new page using:
3632

37-
$ jekyll page "My New Page"
33+
$ bundle exec jekyll page "My New Page"
3834

3935
Create your new post using:
4036

41-
$ jekyll post "My New Post"
37+
$ bundle exec jekyll post "My New Post"
4238

4339
Create your new draft using:
4440

45-
$ jekyll draft "My new draft"
41+
$ bundle exec jekyll draft "My new draft"
4642

4743
Publish your draft using:
4844

49-
$ jekyll publish _drafts/my-new-draft.md
45+
$ bundle exec jekyll publish _drafts/my-new-draft.md
5046
# or specify a specific date on which to publish it
51-
$ jekyll publish _drafts/my-new-draft.md --date 2014-01-24
47+
$ bundle exec jekyll publish _drafts/my-new-draft.md --date 2014-01-24
5248

5349
Unpublish your post using:
5450

55-
$ jekyll unpublish _posts/2014-01-24-my-new-draft.md
56-
57-
## Helpful Note
58-
59-
If after installing the jekyll-compose gem you still do not see the above
60-
commands available to you, try including the gem in the `jekyll_plugins`
61-
group of your `Gemfile` like so:
62-
63-
```ruby
64-
group :jekyll_plugins do
65-
gem 'jekyll-compose'
66-
end
67-
```
51+
$ bundle exec jekyll unpublish _posts/2014-01-24-my-new-draft.md
6852

6953
## Contributing
7054

0 commit comments

Comments
 (0)