Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7198

Re: Reading ruby error stack traces

Newsgroups comp.lang.ruby
Date 2016-04-02 12:55 -0700
References <ab886dea-88bc-4089-8f25-accecc09b287@googlegroups.com>
Message-ID <1be2bf63-d3c6-4933-a8f2-d1053f20c189@googlegroups.com> (permalink)
Subject Re: Reading ruby error stack traces
From Kartik Jagdale <kartikjagdale11@gmail.com>

Show all headers | View raw


I also am quite new to rails, but what I understand from the stack trace and from my little experience is that first it should be RAILS_ENV= production and not `productio` so perhaps lets assume that its a typo from you.

Secondly it clearly says :  'Make sure that the adapter in config/database.yml'

so in general by default rails comes with `database.yml` configured for sqlite3 but if you want to configure for another database like `mysql` then you need to manually configure that file.
A simple google query on how to configure rails for mysql should do the work.
I hope I helped.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Find similar


Thread

Reading ruby error stack traces bugs.bunny.san@googlemail.com - 2016-02-19 07:22 -0800
  Re: Reading ruby error stack traces Kartik Jagdale <kartikjagdale11@gmail.com> - 2016-04-02 12:55 -0700

csiph-web