I just extracted this from the existing local.install...




On Mon, Apr 22, 2013 at 11:11 AM, Yurii Rashkovskii <
notifications@github.com> wrote:

> In lib/mix/lib/mix/open_path.ex:
>
> > +      :else          -> raise Mix.Error, message: "expected #{path} to be a url or a local file path"
> > +    end
> > +  end
> > +
> > +
> > +
> > +  defp read_file(path) do
> > +    File.read!(path)
> > +  end
> > +
> > +  defp read_url(path) do
> > +    if URI.parse(path).scheme == "https" do
> > +      :ssl.start
> > +    end
> > +
> > +    :inets.start
>
> It's not a great idea to start applications in the middle of something.
> It'd be easier to make mix depend on both inets and ssl.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/elixir-lang/elixir/pull/964/files#r3898491>
> .
>