Skip to content

Instantly share code, notes, and snippets.

@jschoch
Created July 8, 2013 13:04
Show Gist options
  • Save jschoch/5948601 to your computer and use it in GitHub Desktop.
Save jschoch/5948601 to your computer and use it in GitHub Desktop.
iex(1)> dbo = [
...(1)> {:adapter, :mysql},
...(1)> {:db_host, 'demo-db.foo.com'},
...(1)> {:db_port, 3306},
...(1)> {:db_username, 'root'},
...(1)> {:db_password, '1234'},
...(1)> {:cache_enable, :false},
...(1)> {:cache_exp_time, 1}
...(1)> ]
iex(3)> :boss_db:start(dbo)
** (SyntaxError) iex:3: syntax error before: start
/usr/local/Cellar/erlang-r16/R16B/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:128: :elixir_parser.yecctoken_end_location/1
/usr/local/Cellar/erlang-r16/R16B/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:113: :elixir_parser.yeccpars1/7
/usr/local/Cellar/erlang-r16/R16B/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:56: :elixir_parser.yeccpars0/5
src/elixir_translator.erl:16: :elixir_translator.forms/4
/Volumes/Work/github/elixir/lib/iex/lib/iex/server.ex:78: IEx.Server.eval/4
/Volumes/Work/github/elixir/lib/iex/lib/iex/server.ex:37: IEx.Server.do_loop/1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment