LoginSignup
4
2

More than 5 years have passed since last update.

[zsh] zsh: no matches found

Posted at

エラー

rakeタスクの引数を渡す場合に、エラー表示がでる。

$ bundle exec rake neo4j:generate_schema_migration[constraint,大学,uuid]
zsh: no matches found: neo4j:generate_schema_migration[constraint,大学,uuid]

対応

noglobを使う。

$ noglob bundle exec rake neo4j:generate_schema_migration[constraint,大学,uuid]

よく使う場合は、エイリアスに追加するのもありかもしれないです。

~/.zshenv
alias rake='noglob bundle exec rake'

参考

http://neo4jrb.readthedocs.io/en/6.0.x/RakeTasks.html
http://qiita.com/kwgch/items/445a230b3ae9ec246fcb

4
2
2

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
4
2