이 명령은 fish에서 쓸 수 없다.
$ RAILS_ENV=test rake db:migrate
는 건 알고 있었는데.. 오늘 마침 저걸 할일이 있어서 찾아보았다.
이렇게 하면된다.
$ env RAILS_ENV test rake db:migrate
그런데 위의 명령을 fish에서 날려보니 예전엔 안나오던 에러메세지가 나온다.
$ RAILS_ENV=test rake db:migrate
fish: Unknown command 'RAILS_ENV=test'. Did you mean to run rake with a modified environment? Try 'env RAILS_ENV=test rake...'. See the help section on the set command by typing
'help set'.
..다음부터는 안되는거 알더래도 일단 해보고 에러메세지로 검색하는것도 괜찬을 것 같다는 생각을 했다.