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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:04:05+00:00 2026-05-24T18:04:05+00:00

Is is possible to run capybara with nginx and passenger? instead or webrick? Capybara

  • 0

Is is possible to run capybara with nginx and passenger? instead or webrick? Capybara is installed with cucumber in a rails app.

  • 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-24T18:04:06+00:00Added an answer on May 24, 2026 at 6:04 pm

    It is easy – the only thing you have to do is to switch your mind – neither capybara nor cucumber are not tied to local environment you can test application that is located in internet and it will not care about it – you can even test google.com if you want.

    For your particular problem you’ll have to set

    Capybara.run_server = false
    Capybara.server_port = 8000 # or whatever port is your instance of nginx is configured to serve
    Capybara.app_host = 'http://www.google.com' # if your instance is running on remote machine, else just drop it and capybara will use localhost
    

    You can easily control restarting of your application using cucumber hooks, you can configure it to restart before each test or before test suite. (See cucumber wiki) Within hook you’ll have to issue FileUtils.touch tmp/restart.txt command. The same with database – you can manually setup hook to truncate it whenever it is needed (See database_cleaner gem)

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

Sidebar

Related Questions

Is it possible to run the wpf app only on a CD/DVD that we
I need to run capybara-webkit inside a Rails application to enable headless web browsing
Possible Duplicate: Run javascript function when user finishes typing instead of on key up?
Possible Duplicate: Is it possible to run Ruby on Rails with Ruby 1.9x? Browsing
Is it possible to run map reduce jobs on Google app engine? Any reference
is it possible to run f# code on server if it's not installed there
Is it possible to run a windows xp bat script remotely from a ubuntu
Is it possible to run the new ASP.NET MVC 2 Preview 2 on mono?
Is it possible to run R in Processing through rJava/JRI? If I deployed a
Is it possible to run JUnit tests from inside my Java application? Are there

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.