I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is undefined it only work with Enum.chunk
1 Like
Thats not exactly related to phoenix.
You can get the version of the installed elixir from the shell using elixir --version
, or programmatically using System.version/0
:
iex(1)> System.version
"1.5.0"
9 Likes
Thank you after restarted the server it magically work maybe there was a typo. sorry was very new to this