summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-06-20 16:06:14 -0500
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-16 16:50:09 -0700
commita702debf109ea3cac4d0617cbdf5836824335f88 (patch)
tree1fbd3bfff8ccba4218df5f853ff62a6aad053e3a
parentc87cc8f092428680e214b817536b33ae3cd277e0 (diff)
downloadbundler-a702debf109ea3cac4d0617cbdf5836824335f88.tar.gz
Remove --binstubs from cli/install.rb
- Also, remove `bundle install --binstubs` documentation from the config and install manpages
-rw-r--r--lib/bundler/cli/install.rb2
-rw-r--r--man/bundle-config.ronn8
-rw-r--r--man/bundle-install.ronn13
3 files changed, 2 insertions, 21 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 6230fa576a..4770a7e0fe 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -86,8 +86,6 @@ module Bundler
Bundler.settings[:path] = "vendor/bundle" if options[:deployment]
Bundler.settings[:path] = options["path"] if options["path"]
Bundler.settings[:path] ||= "bundle" if options["standalone"]
- Bundler.settings[:bin] = options["binstubs"] if options["binstubs"]
- Bundler.settings[:bin] = nil if options["binstubs"] && options["binstubs"].empty?
Bundler.settings[:shebang] = options["shebang"] if options["shebang"]
Bundler.settings[:jobs] = options["jobs"] if options["jobs"]
Bundler.settings[:no_prune] = true if options["no-prune"]
diff --git a/man/bundle-config.ronn b/man/bundle-config.ronn
index f7224bb8d6..47afd975f6 100644
--- a/man/bundle-config.ronn
+++ b/man/bundle-config.ronn
@@ -44,14 +44,6 @@ If these options must be remembered, they must be set using `bundle config`
The options that can be configured are:
-* `binstubs`:
- Creates a directory (defaults to `~/bin`) and place any executables from the
- gem there. These executables run in Bundler's context. If used, you might add
- this directory to your environment's `PATH` variable. For instance, if the
- `rails` gem comes with a `rails` executable, this flag will create a
- `bin/rails` executable that ensures that all referred dependencies will be
- resolved using the bundled gems.
-
* `deployment`:
In deployment mode, Bundler will 'roll-out' the bundle for
`production` use. Please check carefully if you want to have this option
diff --git a/man/bundle-install.ronn b/man/bundle-install.ronn
index 281b743933..ce3fa37a34 100644
--- a/man/bundle-install.ronn
+++ b/man/bundle-install.ronn
@@ -3,8 +3,7 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
## SYNOPSIS
-`bundle install` [--binstubs[=DIRECTORY]]
- [--clean]
+`bundle install` [--clean]
[--full-index]
[--gemfile=GEMFILE]
[--jobs=NUMBER]
@@ -42,17 +41,9 @@ update process below under [CONSERVATIVE UPDATING][].
## OPTIONS
-To apply any of `--deployment`, `--path`, `--binstubs`, or `--without` every
+To apply any of `--deployment`, `--path`, or `--without` every
time `bundle install` is run, use `bundle config` (see bundle-config(1)).
-* `--binstubs[=<directory>]`:
- Creates a directory (defaults to `~/bin`) and place any executables from the
- gem there. These executables run in Bundler's context. If used, you might add
- this directory to your environment's `PATH` variable. For instance, if the
- `rails` gem comes with a `rails` executable, this flag will create a
- `bin/rails` executable that ensures that all referred dependencies will be
- resolved using the bundled gems.
-
* `--clean`:
On finishing the installation Bundler is going to remove any gems not present
in the current Gemfile(5). Don't worry, gems currently in use will not be