Browse files

Merge pull request #4 from mpapis/master

add a note about rubygems-bundler wrappers
  • Loading branch information...
joshbuddy committed Apr 2, 2012
2 parents 8d05e5f + 99c7d63 commit b2c4887798d82d5bec0adf9416683c43fba042fd
Showing with 13 additions and 0 deletions.
  1. +13 −0
@@ -12,6 +12,19 @@ Then, in your .profile (or somewhere you can set env variables)
And you're done!
+Alternatively you can use rubygems-bundler to generate wrappers aware of noexec, install:
+ gem install rubygems-bundler
+change a line in ~/.gemrc to:
+ custom_shebang: $env ruby_noexec_wrapper
+and run (once):
+ gem regenerate_binstubs
## Configuration
Though you can let noexec do it's own thing and rely on looking up your binary via your Gemfile, you can also specify which binaries you want included or excluded. Create a .noexec.yaml file along side any Gemfiles you want to use. Then, to enable (or disable) the usage of your particular binary into your bundle, add an include or exclude section. For example:

0 comments on commit b2c4887

Please sign in to comment.