Hello,
I was trying the jamdb_oracle ecto adapter, and apparently I cannot use it with mix to create databases and tables. However, I tried pointing to an existing database, and running iex when I got:
** (Mix) Could not start application postgrex: could not find application file: postgrex.app
Why is mix looking for postgrex.app? My dependencies look like:
defp deps do
[
{:phoenix, “~> 1.4.0”},
{:phoenix_pubsub, “~> 1.1”},
{:phoenix_ecto, “~> 4.0”},
{:ecto_sql, “~> 3.0”},
{:jamdb_oracle, git: “https://github.com/erlangbureau/jamdb_oracle.git”},
{:phoenix_html, “~> 2.11”},
{:phoenix_live_reload, “~> 1.2”, only: :dev},
{:gettext, “~> 0.11”},
{:jason, “~> 1.0”},
{:plug_cowboy, “~> 2.0”}
]
end
and my DB configuration is:
config :hello, Hello.Repo,
hostname: “localhost”,
port: 1521,
database: “XE”,
username: “user”,
password: “userpass”
The app compiles fine. I just not able to run iex with it.
This is just after running: “mix phx.new hello” BTW