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

  • SEARCH
  • Home
  • 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 5936705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:26:11+00:00 2026-05-22T15:26:11+00:00

Been trying to run a rails app using terminal in jruby 1.9 mode. I

  • 0

Been trying to run a rails app using terminal in jruby 1.9 mode. I tried the following, but ran into a series of errors:

$ jruby --1.9 script/rails s
LoadError: load error: /Users/aaronmcleod/Documents/sojourner/config/boot -- java.lang.ClassCastException: org.jruby.RubyObject cannot be cast to org.jruby.RubyException
  require at org/jruby/RubyKernel.java:1047
  require at /Users/aaronmcleod/.rvm/rubies/jruby-1.6.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29
   (root) at script/rails:5
  • 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-05-22T15:26:11+00:00Added an answer on May 22, 2026 at 3:26 pm

    This is caused by the new YAML parser which has some internal bugs. Check your yaml files, for any symbols, you have to replace them with strings. In my case it was:

    --- a/config/locales/de.yml
    +++ b/config/locales/de.yml
    @@ -13,7 +13,7 @@ de:
         abbr_day_names: [So, Mo, Di, Mi, Do, Fr, Sa]
         month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember]
         abbr_month_names: [~, Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez]
    -    order: [ :day, :month, :year ]
    +    order: [ "day", "month", "year" ]
    
       time:
         formats:
    

    See also the related bug report: JRUBY-5802

    You can determine the faulty yaml file by iterating over all files and try to parse them:

    jruby --1.9 -ryaml -e 'ARGV.each {|file| puts file; YAML.load_file(file) }'  $(find . -name '*.yml')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to get an app hosted on EngineYard, and have run into
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I've been trying to fix a bug in the Rails app I'm developing, and
I have been trying to run the project given in this MSDN Magazine but
I've been trying to use the 'twitter_oauth' gem with my rails application but whenever
I have been trying to run rake but it seems that ever since I
I've been trying to run my java program overnight but I need to restart
I have been trying to run the rake db:migrate command but it ain't working.
I've been trying to run a jar file - let's call it test.jar -
Been trying to upgrade my subversion installation, but due to (what I believe) are

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.