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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:45:53+00:00 2026-05-27T07:45:53+00:00

I have a Rails app that I developed on Windows. Now I’m bringing it

  • 0

I have a Rails app that I developed on Windows. Now I’m bringing it over to a VM to get it running there before I deploy it. First I ran rails c and got

/usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require': cannot load such file -- openssl (LoadError)
    from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require'

OK I solved that with Rails 3 – no such file to load — openssl.

Then I ran rails c again and got:

/usr/lib/ruby/gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `load': /mnt/hgfs/AquaticKodiak/config/initializers/session_store.rb:3: syntax error, unexpected ':', expecting $end (SyntaxError)
...sion_store :cookie_store, key: '_mySiteName_session'
                              ^
    from /usr/lib/ruby/gems/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `load'

To me it looks like when it hit the first error Rails was using 1.9.3 and in the second one it was using 1.8. I’m pretty sure that key: 'siteName' won’t work in 1.8. Does this mean that one of my gems is a 1.8 gem? I’ve done a bundle install and a bundle update, that didn’t help.

Is Rails confused about which version of Ruby to use? When I run ruby -v I get ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]. That seems correct.

  • 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-27T07:45:53+00:00Added an answer on May 27, 2026 at 7:45 am

    From the paths, it looks like you’re using RVM and Linux on your VM. Since you followed the instructions for the openssl problem I’m guessing you may have corrupted your environment variables, and therefore disabled RVM, hence falling back to system default 1.8.

    1. Open a new terminal and see if you can still run RVM rvm list. You should see a list of available ruby versions, if you don’t then your RVM environment variables are messed up and you need to fix them (see the RVM docs).

    2. Check in the project directory for the .rvmrc file and verify that you’re using a version of ruby that’s available on the system.

    3. If yo use a list of ruby versions from rvm list select the one you want to use and execute rvm use ruby-1.9.x-pxxx just replace the x’s with the one you want. You can also set the default ruby version to use with RVM’s default command. Again, see the RVM docs.

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

Sidebar

Related Questions

I have a Rails app that is running on port 8080 that I need
I have a Rails app that I need to deploy. Here are the facts:
I have a Rails app that is served by Apache and Passenger, using only
I have a Rails app that does everything I need it to do via
I have a rails app that is using Devise perfectly in development. I have
I have a rails app that has asynchronous processing, and I'm having trouble getting
I have a Rails app that needs to expose values from a database as
I have a Rails app that archives high-res images (and thumbs) on S3 (via
We have a Rails app that instantiates a SWF object 16 times (it has
I have a rails app that I'm moving to another server and I figure

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.