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 salvi7,584 Points
downloaded project files, bundled gems, but having trouble with secret.yml file for ODOT app
secret_key_base for 'development' environment, set this value in
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/
Kenan Memis47,314 Points
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
Then go next line by pressing enter and indent two spaces and write
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.