pprzetacznik / IElixir

Jupyter's kernel for Elixir programming language
Apache License 2.0
357 stars 44 forks source link

Loading multiple modules with Boyle #36

Closed ghost closed 6 years ago

ghost commented 6 years ago

How to load multiple modules with Boyle? Something like

Boyle.install([{:matrex, "~> 0.6"}, {:gen_stage, "~> 0.14"}])

or

Boyle.install({:gen_stage, "~> 0.14"})
Boyle.install({:matrex, "~> 0.6"})

simply return ** (ArgumentError) "argument error"

pprzetacznik commented 6 years ago

@rparcus thanks for reporting this issue. I see the problem in the code which is related to storing dependencies list in deps.lock file.

pprzetacznik commented 6 years ago

@rparcus I've fixed this with this commit: https://github.com/pprzetacznik/IElixir/commit/20d880cee1bed6bdcf579e5c42ecbee2dc4703e4

Please check if everything works fine right now. Probably you need to remove your Boyle environment and recreate this once again.

ghost commented 6 years ago

looking at the code it should work. I can only check on Monday but thank you so much for the fix and the project. It's quite helpful!

Edit: It's definitely working now. Thanks!