Header Ads Widget

[MAN] bundle-inject

Content-type: text/html; charset=UTF-8 Man page of BUNDLE-INJECT

BUNDLE-INJECT

Section: (1)
Updated: March 2018
Index Return to Main Contents
 

NAME

bundle-inject - Add named gem(s) with version requirements to Gemfile  

SYNOPSIS

bundle inject [GEM] [VERSION]  

DESCRIPTION

Adds the named gem(s) with their version requirements to the resolved Gemfile(5).

This command will add the gem to both your Gemfile(5) and Gemfile.lock if it isn't listed yet.

Example:


bundle install
bundle inject 'rack' '> 0'

This will inject the 'rack' gem with a version greater than 0 in your Gemfile(5) and Gemfile.lock


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 04:45:20 GMT, September 16, 2022

댓글 쓰기

0 댓글