lib/inochi/templates/HACKING.rbs in inochi-6.0.2 vs lib/inochi/templates/HACKING.rbs in inochi-6.1.0
- old
+ new
@@ -16,59 +16,30 @@
handles tasks such as building this help manual and API documentation, and
packaging, announcing, and publishing new releases. See its help manual and
list of tasks to get started:
------------------------------------------------------------------------------
-inochi --help # display help manual
-inochi --tasks # list available tasks
+bundle exec inochi --help # display help manual
+bundle exec inochi --tasks # list available tasks
------------------------------------------------------------------------------
=== $LOAD_PATH setup
Ensure that the `lib/` directory is listed in Ruby's `$LOAD_PATH` before you
use any libraries therein or run any executables in the `bin/` directory.
This can be achieved by passing an option to Ruby:
------------------------------------------------------------------------------
-ruby -Ilib bin/#{package_name}
-irb -Ilib -r #{package_name}
+bundle exec ruby -Ilib bin/#{package_name}
+bundle exec irb -Ilib -r #{package_name}
------------------------------------------------------------------------------
Or by setting the `$RUBYLIB` environment variable:
------------------------------------------------------------------------------
-export RUBYLIB=lib # bash, ksh, zsh
-setenv RUBYLIB lib # csh
-set -x RUBYLIB lib # fish
-
-ruby bin/#{package_name}
-irb -r #{package_name}
-------------------------------------------------------------------------------
-
-Or by running Ruby through the
-http://github.com/chneukirchen/rup/blob/master/ruby-wrapper[ruby-wrapper]
-tool.
-
-=== RubyGems setup
-
-If you use Ruby 1.8 or older, then ensure that RubyGems is activated before
-you use any libraries in the `lib/` directory or run any executables in the
-`bin/` directory.
-
-This can be achieved by passing an option to Ruby:
-
-------------------------------------------------------------------------------
-ruby -rubygems bin/#{package_name}
-irb -rubygems -r #{package_name}
-------------------------------------------------------------------------------
-
-Or by setting the `$RUBYOPT` environment variable:
-
-------------------------------------------------------------------------------
-export RUBYOPT=-rubygems # bash, ksh, zsh
-setenv RUBYOPT -rubygems # csh
-set -x RUBYOPT -rubygems # fish
+env RUBYLIB=lib bundle exec ruby bin/#{package_name}
+env RUBYLIB=lib bundle exec irb -r #{package_name}
------------------------------------------------------------------------------
=== Running tests
Simply execute the included test runner, which sets up Ruby's `$LOAD_PATH` for