Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8861247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:27:02+00:00 2026-06-14T15:27:02+00:00

I have deployed an app to Heroku. The app works okay in dev, and

  • 0

I have deployed an app to Heroku. The app works okay in dev, and tests pass.
The deployment works and webserver is running. However the following line from the en.yml file is causing internal server error.

ActionView::Template::Error (syntax error on line 14, col 8: `        current_practice_telephone:           "Telephone"'):

My full en.yml file

en:
  activerecord:
    attributes:
      user:
        password_digest: "Password"
    credential:
        current_practice_address_line1:     "Address"
        current_practice_address_city:      "City"
        current_practice_address_state:     "State"
        current_practice_address_country:   "Country"
        current_practice_address_zip_code:  "Zip Code"
        current_practice_telephone:         "Telephone"
        NPI_number:                         "Your NPI Number"
        license_number:                     "Your State License Number"
        state_license_website_link:         "Can you provide a link to your state license information? (Optional)"
        current_practice_name:              "Practice Name"
        current_practice_title:             "Your Title"
        current_practice_fellowship:        "Name of your Fellowship"
        current_practice_residency:         "Name of your Residency"
        current_practice_subspecialty:      "Name of your subspecialty"

I’m really confused why heroku server would puke here. Any ideas?

UPDATE: I fixed the missing quote but heroku still will not process the YAML file. After the lastest update:

local console

 YAML.load(File.open('config/locales/en.yml'))
 => {"en"=>{"activerecord"=>{"attributes"=>{"user"=>{"password_digest"=>"Password"}}, "credential"=>{"current_practice_address_line1"=>"Address", "current_practice_address_city"=>"City", "current_practice_address_state"=>"State", "current_practice_address_country"=>"Country", "current_practice_address_zip_code"=>"Zip Code", "current_practice_telephone"=>"Telephone", "NPI_number"=>"Your NPI Number", "license_number"=>"Your State License Number", "state_license_website_link"=>"Can you provide a link to your state license information? (Optional)", "current_practice_name"=>"Practice Name", "current_practice_title"=>"Your Title", "current_practice_fellowship"=>"Name of your Fellowship", "current_practice_residency"=>"Name of your Residency", "current_practice_subspecialty"=>"Name of your subspecialty"}}}} 

heroku console

irb(main):001:0> YAML.load(File.open('config/locales/en.yml'))
ArgumentError: syntax error on line 11, col 8: `        current_practice_telephone:         "Telephone"'
    from /usr/local/lib/ruby/1.9.1/syck.rb:135:in `load'
    from /usr/local/lib/ruby/1.9.1/syck.rb:135:in `load'
    from (irb):1
    from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in `start'
    from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/console.rb:8:in `start'
    from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:41:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
irb(main):002:0> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:27:04+00:00Added an answer on June 14, 2026 at 3:27 pm

    You probably have a invisible character on the affected line that causes the problems. Either configure your editor to show invisible characters, or simple delete the line, and type it again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running heroku run rake db:migrate after I have deployed my app to
I currently have an app deployed on Heroku which runs on two web dynos
I have a Rails app deployed on Heroku with the Heroku scheduler add-on successfully
So I have deployed my app to heroku for testing for a couple of
I just bought an SSL certificate for my Heroku-deployed app. Following their instructions ,
I have just deployed my app to heroku, and after some problems, it seem
After I have re-deployed my app to Heroku, it displays the old public/index.html. What
I have a basic Sinatra app deployed to Heroku. I have 'enable :sessions' in
I have a Rails app deployed on Heroku and I have a git repo
I have deployed a rails 3.1 app to Heroku Cedar stack, and am trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.