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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:17:08+00:00 2026-05-18T09:17:08+00:00

In my GEM file, should ‘ruby-debug’ be in the development/test block only? This is

  • 0

In my GEM file, should ‘ruby-debug’ be in the development/test block only?

This is my GEMFILE, I don’t have a production block, trying to deploy and things are failing and I can’t figure out why.

Phusion is saying I am missing a source file, but doesn’t say which one. Below is my Gemfile, maybe I need to create a production block with some gem??

source 'http://rubygems.org'

gem 'rails', '3.0.3'

gem 'mysql2'
gem 'jquery-rails'



# Deploy with Capistrano
gem 'capistrano'

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
gem 'ruby-debug'


 group :development, :test do

    gem 'annotate-models', '1.0.4'

    gem 'rspec'
    gem 'webrat'
    gem 'rspec-rails'
 end
  • 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-18T09:17:09+00:00Added an answer on May 18, 2026 at 9:17 am

    Yes, put ruby-debug in your group :development, :test block unless you want to debug in production (and this would just be temporary).

    Just as you have to start your development server with a debug flag, passenger also needs to be started with debugging enabled. Here is a blog post on accomplishing just that in the context of using passenger for development.

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

Sidebar

Related Questions

I have an awesome trouble with Gem. After executing this command: rm -f /usr/local/lib/ruby/gems/1.9.1/cache/*
I have such lines in Gemfile: group :test do ... gem 'cucumber', :git =>
I am using spreadsheet gem to generate native Excel file. This is not CSV,
If I download a .gem file to a folder in my computer, can I
Is there a good ruby gem for a WYSIWYG editor that will easily work
Update: Check out this follow-up question: Gem Update on Windows - is it broken?
I am using the ruby daemons gem to create a custom daemon for my
I have a gem, roundhouse , which is an application compiled with .NET (C#).
I have a 2.4 MB XML file, an export from Microsoft Project (hey I'm
I am creating a new ruby gem using NetBeans as my IDE. The initial

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.