Skip to content

Add a Gemfile to project #109

@Debilski

Description

@Debilski

Having a Gemfile (α) in the root directory with a content as follows:

source :rubygems

gem "jekyll"
gem "RedCloth"

would make installation for users of bundler much easier.

# Installs all required gems into a local folder (β)
# Without --path it will try to install globally
$ bundle install --path=vendor/

# Run local version of jekyll 
$ bundle exec jekyll

In the long run this means less version conflicts and less binaries in $PATH.

(α) For build stability, Gemfile.lock could also be checked in. This will fix the version number of every gem.
(β) One might need to exclude vendor/ from Jekyll’s build system then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions