LoginSignup
13
10

More than 5 years have passed since last update.

`bundle exec rails`とか`bin/rails`とか打ちたくない

Posted at
$ brew install direnv
$ cd /path/to/rails_project
$ vim .envrc
export PATH=$PWD/bin:$PATH
$ direnv allow
direnv: loading .envrc
direnv: export ~PATH
$ which rails
/path/to/rails_project/bin/rails
13
10
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
10