Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

chris salvi
7,584 Pointsdownloaded project files, bundled gems, but having trouble with secret.yml file for ODOT app
Missing secret_key_base
for 'development' environment, set this value in config/secrets.yml
This seems to go against all evidence as I generated two secret key bases for development and testing, yet I cant get the server to load the app :(
Reference (note I know this info is sensitive but Im just learning and can always get new secret keys by rake secret): http://postimg.org/image/7hhhruqg9/
1 Answer

Kenan Memis
47,314 PointsHi,
Sometimes .yml files do some tricky things. I have experienced lots of times. If you believe that you are okey with the preliminary requirements (app files, bundled gems, etc.) please fill the secrets.yml file manually. Sometimes copying causes some unexpected results.
Copy your secrets.yml content to another file, clear the secrets.yml file then go step by step. First write
development:
Then go next line by pressing enter and indent two spaces and write
secret_key_base:
On same line after a space add your secret_key_base for development(you can copy/paste the key)
Result will be the same as you did previously but some how it is working now.