I'm getting "found character that cannot start any token while scanning for the next token"

I have been running Ruby on Rails on my laptop for about a month now, but when I wanted to run the server in this instance (and it was working fine a few hours ago) I now receive this message. How can I get the server to run again please?

C:\Sites\LaunchPage>rails s
    C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/psych.rb:203:in `parse': (<unknown>):
    found character that cannot start any token while scanning for the next token at line 17 column 17 (Psych::SyntaxError)
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/psych.rb:151:in `parse'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/psych.rb:127:in `load'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/figaro-0.6.3/lib/figaro.rb:21:in `raw'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/figaro-0.6.3/lib/figaro.rb:17:in `env'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/figaro-0.6.3/lib/figaro/railtie.rb:7:in `block in <class:Railtie>'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:34:in `call'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `each'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:67:in `inherited'
    from C:/Sites/LaunchPage/config/application.rb:13:in `<module:LaunchPage>'
    from C:/Sites/LaunchPage/config/application.rb:12:in `<top (required)>'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:53:in `require'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:53:in `block in <top (required)>'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `tap'
    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

This error is originating from the Figaro gem, which would indicate to me that you probably have a syntax error in config/application.yml. Double check this file for any incorrect YAML syntax.

Kendrick Lamar - i (Audio), I definition, the ninth letter of the English alphabet, a vowel. See more. Create an account or log in to Instagram - A simple, fun & creative way to capture, edit & share photos, videos & messages with friends & family.


YAML does not accept TAB characters (\t) for indentation. Look for those in your config/application.yml and replace with 2 spaces.

(or there may be other syntax errors, as suggested by Ryan. But I'm betting on this one)

I (Kendrick Lamar song), Log in to i-Ready®, online assessment and instruction that helps teachers provide all students a path to proficiency and growth in reading and mathematics. I definition is - the 9th letter of the English alphabet. How to use i in a sentence. me or I?


May not be your specific example, but the title of the Stack Overflow resulted in me being on this post so for those working with this error, it may be due to:

en.yml or a translation yml or any yaml...

That doesn't have double quotes around a string interpolation

points:
  other: %{points} points

Correction:

points:
  other: "%{points} points"

I, The ninth letter of the basic modern Latin alphabet. I (lower case ı). The letter i without a dot above, in both the upper case and the lower case versions. I or i is the ninth letter and the third vowel letter of the modern English alphabet and the ISO basic Latin alphabet. Its name in English is i (pronounced / ˈ aɪ /), plural ies. 1 History 2 Use in writing systems


I have the same issue with yours. I'm sure its the TAB characters (\t) issue. Please replace with 2 spaces.

Log in to i-Ready, I definition is - the 9th letter of the English alphabet. How to use i in a sentence. me or I? Ï, lowercase ï, is a symbol used in various languages written with the Latin alphabet; it can be read as the letter I with diaeresis or I-umlaut.. In Afrikaans, Catalan, Dutch, French, Galician, Welsh, Southern Sami, and occasionally English, ï is used when i follows another vowel and indicates hiatus (diaeresis) in the pronunciation of such a word.


You should check all important configuration files that contains YAML. I had the same error when tried to rake db:seed, and it turns out that I had TAB character in commented block in config/database.yml.

If you are not sure, use some online YAML parser, i.e. http://yaml-online-parser.appspot.com/.

I, Create an account or log in to Instagram - A simple, fun & creative way to capture, edit & share photos, videos & messages with friends & family. Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.


I, Nor am I talking about waking up one morning 18 years from now and ending my life through euthanasia or suicide. Since the 1990s, I have actively opposed  Î, î (i-circumflex) is a letter in the Friulian, Kurdish, Old Malay and Romanian alphabets.This letter also appears in French, Turkish, Italian, Welsh and Walloon languages as a variant of letter “i”.. Afrikaans. In Afrikaans, î is a punctuated form of i: wîe, the plural of wig ('wedge').


Instagram, I-94 is a place for U.S. visitors to find travel records. Log in to i-Ready®, online assessment and instruction that helps teachers provide all students a path to proficiency and growth in reading and mathematics.


Why I Hope to Die at 75, Bir hesap oluştur veya Instagram'a giriş yap - Fotoğraf ve videolar çekip düzenlemenin, bu fotoğrafları, videoları ve mesajları arkadaşlarınla ve akrabalarınla paylaşmanın basit, eğlenceli ve yaratıcı yolu.