Create bundler.md
some basic functions for using bundler/bundle
This commit is contained in:
19
pages/common/bundler.md
Normal file
19
pages/common/bundler.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#bundler
|
||||||
|
|
||||||
|
> Dependency manager for the Ruby programming language.
|
||||||
|
|
||||||
|
- Installs all gems defined in the {{Gemfile}} expected in the working directory.
|
||||||
|
|
||||||
|
`bundle install`
|
||||||
|
|
||||||
|
- Update all gems by the rules defined in the {{Gemfile}} and regenerate {{Gemfile.lock}}
|
||||||
|
|
||||||
|
`bundle update`
|
||||||
|
|
||||||
|
- Update one specific gem defined in the {{Gemfile}}
|
||||||
|
|
||||||
|
`bundle update --source {{gemname}}`
|
||||||
|
|
||||||
|
- Create a new gem skeleton
|
||||||
|
|
||||||
|
`bundle gem {{gemname}}`
|
Reference in New Issue
Block a user