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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:15:17+00:00 2026-05-23T05:15:17+00:00

I want to change the textmate bundle Create Partial From Selection, which depends on

  • 0

I want to change the textmate bundle “Create Partial From Selection”, which depends on a file called “create_partial_from_selection.rb”.

I have changed the above file so it outputs double, not single quotes. Problem is i don’t know where to put this edited file. I tried putting my edited file in ~/Library/Application Support/TextMate/Bundles, but this file has dependencies, which in turn have more dependencies, so that didn’t really work.

Any pointers please?

  • 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-23T05:15:18+00:00Added an answer on May 23, 2026 at 5:15 am

    Disclaimer: I have never actually done anything regarding bundle creation/editing for textmate. These are just suggestions based on what I was able to glean looking through them.

    The directory (for my bundle) that the source code is in is here:

    ~/Library/Application Support/TextMate/Bundles/Ruby On Rails.tmbundle/Support/bin
    

    If you open textmate, then click “Bundles” in the menu bar, then “Bundle Editor”, then “Show Bundle Editor”, you’ll see a list of all your bundles and can get to all the actions within them. Under “Create Partial from Selection”, I have the following:

    RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
    "${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/create_partial_from_selection.rb"
    

    I have no idea what best practice dictates for this, but it seems like you have two options:

    1. Change the path in Bundle editor from "${TM_BUNDLE_SUPPORT}/bin/create_partial_from_selection.rb" to something else (perhaps "${TM_BUNDLE_SUPPORT}/bin/create_partial_from_selection_double_quotes.rb" ?). Then drop your new file in the same directory alongside the original. I suppose you could also make your own action in bundle editor with all the same settings for a completely separate command. With this option you’ll keep the original source code (good in case you accidentally introduced a hard to track down bug).

    2. Overwrite create_partial_from_selection.rb in the bundle directory with your new file. Probably faster, but you lose the original command in bundle editor. I probably would suggest making a backup of the original, but you could also find it online or re-download the bundle pretty easily, so maybe not as big a deal to you if you always have internet access.

    Good luck!

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

Sidebar

Related Questions

I have a lot lines contains XXXXXXXXX-XXX.XXX number format. I want change number XXXXXXXXX-XXX.XXX
I want to make a change to a VB6 app which consists of a
i have a problem with php.ini file. i need to change current date and
I want change background picture(a div) with javascript that I will take from database.
I want change background of all cells in a tableView, I have used initWithStyle:UITableViewCellStyleValue1
I have UiTextView where I want change font size (increase), here code -(void)biggerFont:(UIBarButtonItem *)
I have three images and I want change the images size based on the
i want change my UIWebView with Setting bundle . what is the property for
I am new to iphone. I want change the view from portrait to landscape
I have method List<Foo> getFoos () which gets the data from remote server and

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.