Automatin bundle exec for Winsdows batch.
referred to: https://github.com/gma/bundler-exec
- Copy
bundler-exec.bat
(PATH passed) - Register
COMMAND
alias.
โป COMMAND: ruby
, rspec
, heroku
, jekyll
etc...
- 1.1: for Command prompt
>doskey COMMAND=bundler-exec COMMAND $*
- 1.2: read macro file(register-macros.txt)
>doskey /macrofile=register-macros.txt
- 2.1: for nyaos (https://sites.google.com/site/chishikinoyaclldcool/home/ckw-nyaos)
$ vi _nya
alias COMMAND bundler-exec COMMAND $*
- make Gemfile
gem 'rake'
bundle install --path vendor/bundle
- execute. without
bundle exec
$ rake
#=> bundle exec rake