Skip to content

Commit

Permalink
readme: Removed what it is doing section
Browse files Browse the repository at this point in the history
I don't understand that readme language and I wrote the plugin!

I think the shell code is actually clear enough that anyone who was
interested can look at it themselves.
  • Loading branch information
Christian Höltje committed Jul 15, 2016
1 parent 1393782 commit 1b66461
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,6 @@ If you are having problems, try running `sanity-check.sh`:
$ $SHELL "$(rbenv root)/plugins/rbenv-chefdk/sanity-check.sh"
```

What rbenv-chefdk is doing...
-----------------------------

rbenv-chefdk modifies `rbenv which` and `rbenv rehash` to search for
executables in:

1. `~/.chefdk/gem/ruby/<ruby_lib_version>/bin` -- When you install gems in
ChefDK, this is where gems are installed when using the ChefDK.
2. `/opt/chefdk/bin` -- These are the normal commands for using chef.
3. `/opt/chefdk/embedded/bin` -- This is only added to `rbenv which` and
partially to `rbenv rehash`. Some of the commands here would break your
system if shims were created for them.
4. `/opt/chefdk/embedded/lib/ruby/gems/<ruby_lib_version>/bin` -- These are
the gems that ChefDK pre-installed for you.

The `rbenv which` command is used by all the internal rbenv plumbing, including
the shims and `rbenv exec`.

The `rbenv rehash` command generates the shims you are actually using when you
run a command that came with ruby or a gem.

Frequently Asked Questions
--------------------------

Expand Down

0 comments on commit 1b66461

Please sign in to comment.