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 6245623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:32:21+00:00 2026-05-24T12:32:21+00:00

I’m currently trying to deploy an Ruby on Rails 3.0.9 app on a production

  • 0

I’m currently trying to deploy an Ruby on Rails 3.0.9 app on a production server. Everything seems to be going fine untill passenger gives an ‘We’re sorry, but something went wrong.’ error upon requesting the website.

The production log shows this error:

Rendered sessions/new.html.haml within layouts/application (5.7ms)

Completed 500 Internal Server Error in 8ms

ActionView::Template::Error (syntax error on line 7, col 7: `’):

2: %h2 Sign in
3: = form_for( :sessions, :url => sessions_path) do |f|

4: .field

5: = f.label :email

6: %br/

7: = f.text_field :email

8: .field

app/views/sessions/new.html.haml:5:in
_app_views_sessions_new_html_haml__1068828667_250539460_0'
app/views/sessions/new.html.haml:3:in
_app_views_sessions_new_html_haml__1068828667_250539460_0′

*Edit: Removing the f.label :email and f.label :password rows makes this error disappear, but this obviously isn’t a fix *

Some information about this error:

  • I develop with aptana on windows
  • A co-developer who works with this project on a mac, was subject to this error a while ago, but fixed this with some unknown magic with gemsets and rvm.
  • Bundle list of the production server: http://pastie.org/private/0itpfmbfwqvhpheptqz4ha
  • Github repository: http://github.com/boersmamarcel/Into-Reality-Portal
  • I’m deploying with capistrano 2.0 and the bundle recipe for it
  • A similar error also happens on other views, but somehow this error also points to line 7 of the file, and the error message sometimes shows random strings after

    col 7:

  • I can’t manage the global gemset on the production server
  • Weird fact: If I remove the = f.label :password and = f.label :email rows, the error is gone :s

I would be very grateful if someone could help me with this. We have been working on this error for the whole day and it’s driving me nuts.

Thanks
– Bas


Edit: the f.label function seems to be causing the problem. I uploaded a trimmed down version of the view which generated the following error:
http://pastie.org/private/cqqipdvqod3r50x9ciwytq
This application runs succesfully on other mac-based and windows-based computers.

  • 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-24T12:32:23+00:00Added an answer on May 24, 2026 at 12:32 pm

    After puzzling with this error for hours and hours, it turned out the I18n gem caused this problem.
    I had a unclosed entity in my en.yml which looked like this:

    en:
      time:
        formats:
          hourminute: "%H:%M"
      date:
    

    Removing the date: part fixed this -in my opinion- very obscure error

    Thanks to all the people who used their braincycles on this problem :)!

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

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am currently running into a problem where an element is coming back from
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka

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.