Like the error says, -e
is not a valid option for a rails console command (in your version of Rails). This is the proper usage:
$ rails console --help
Usage: console [environment] [options]
-s, --sandbox Rollback database modifications on exit.
--debugger Enable ruby-debugging for the console.
--irb DEPRECATED: Invoke `/your/choice/of/ruby script/rails console` instead