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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:57:53+00:00 2026-05-26T01:57:53+00:00

I have finished developing my app and am currently deploying it. I’m getting a

  • 0

I have finished developing my app and am currently deploying it. I’m getting a weird error from one of my controllers:

syntax error, unexpected ‘:’, expecting ‘)’

When I run it in my dev environment it works fine. The only difference I can see between dev/prod is that dev is is using Ruby 1.9.2 and Prod is using 1.8.7. In my naivete I thought “Oh I’ll just upgrade to 1.9.2” – what I fool I’ve been. I used RVM, changed my path, started new terminal session and now can see ruby is at 1.9.2:

ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]

which ruby
/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby

However, when I run a “rails s” my computer continues to use 1.8.7:

[2011-10-05 05:58:40] INFO  WEBrick 1.3.1 
[2011-10-05 05:58:40] INFO  ruby 1.8.7 (2010-08-16) [x86_64-linux] 
[2011-10-05 05:58:45] INFO  WEBrick::HTTPServer#start: pid=32574 port=3000

What the what!!!? I hope someone can help me. I’m about 15 minutes away from moving to the country, and become a farmer!

Thanks in advance.

  • 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-26T01:57:54+00:00Added an answer on May 26, 2026 at 1:57 am

    if you used sudo when installed it might be the reason

    sudo passenger-install-apache2-module
    

    uses system ruby. Try

    passenger-install-apache2-module
    

    which should produce proper config files.

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

Sidebar

Related Questions

I am currently developing an app for iPhone. I have finished most of it,
I have finished developing my app and now I want to deploy it.. what
I have basically finished developing an android app that makes use of SQLite databases
I have finished developing an iPhone app and my client wants to test it
I have almost finished developing an Android App. I use the GPS location and
I have just finished developing an iPhone app and now I wish to make
I have just finished developing a web app but I have a really annoying
Age old question! When you have finished developing and testing your ASP.Net web application,
So I am just starting out developing PHP web applications and have finished setting
i'm currently developing an app for both Android and iOS, thing is... I started

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.