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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:38:20+00:00 2026-06-01T07:38:20+00:00

I have found a comment in a Gemfile: # ruby-debug19 is currently broken in

  • 0

I have found a comment in a Gemfile:

# ruby-debug19 is currently broken in the 1.9.3 release. You need to
# install it manually.
#
# To install, do this:
#     curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
#     curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
#     gem install linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem \
#       --with-ruby-include=$rvm_path/src/ruby-1.9.3-p125/
#     rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem
#
# When done, just:
#     bundle
#

I would now copy the file, edit the file, until it matches the given commands, chmod +x and then ! %. Is there a vim way to do this?

  • 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-06-01T07:38:22+00:00Added an answer on June 1, 2026 at 7:38 am

    I’m not sure if I have completely understood the question, but if you are trying to run those commands from within Vim, you can do so by selecting the lines you want to run (with V), and then type:

    :w !bash
    

    This will display as to take your selection into account:

    :'<,'>w !bash
    

    Hit enter and this will send your commands to be run in bash, and will display the output in a temporary buffer below.

    You could also just select the lines the want to run and hit

    !bash (no colon needed)
    

    However that would try to write the output from bash into your current buffer, which you probably don’t want in this case.

    This is assuming you have bash installed on your system of course.

    See

    :help :w_c
    

    in Vim for more info.

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

Sidebar

Related Questions

I have found this code http://djangosnippets.org/snippets/2283/ but I think it doesn't work with manytomanyfields
I have found this: Getting the size of a QGraphicsView But I can't figure
Has anyone managed to get this to work? Closest I have found is a
I am really struggling with the issue below and need some help...I have found
This is a very simple form that I have found on the web (as
I have found that the menu Code | Comment with Block comment is always
This is similar to a few other threads i have found, but I haven't
I have found several topics with this title, but none of their solutions worked
I have found some in the Cappuccino website (vim, textmate and SubEthaEdit), but not
I have found that my HTML is, to be honest, very clunky. Small, simple

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.