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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:25:52+00:00 2026-05-28T05:25:52+00:00

I’m working on a Ruby on Rails project and sometimes I need to run

  • 0

I’m working on a Ruby on Rails project and sometimes I need to run a script. Everyone else seems happy running their own server and scripts through the console.
I on the other hand really want to write my code, press a button and have Aptana run my script. For one I hope this will enable breakpoints.

  1. How do I make sure it knows the database classes, currently I get TableName unknown name error. “require ‘table.rb'” gets me a cannot load file error. Tried adding the file path with / and \, omitting the file extension, using ‘ or “

  2. What is the hotkey for running current file (whatever pressing the play button is)? Or how can this be configured?

  3. When I ask Aptana to run a file, I want to automatically save it, how can this be configured?

Edit: I have found the hotkey for running current file is Ctrl + F11, not only is this an uncomfortable combination, it’s already in use by Kubuntu and breaks things 🙁
Also recently Aptana started asking what kind of application I want to run the code as:
1. Ruby Application (always choose this one)
2. Ruby Application (? again…)
3. Test::Unit Test

Clearly I need to change the hotkey hand have it choose Ruby Application at default.

  • 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-28T05:25:53+00:00Added an answer on May 28, 2026 at 5:25 am

    I don’t think you have to change the default hot keys.

    1. Answer to your Q1: You have to config your Aptana IDE to know your Rails project. please refer ror_master’s link.

    2. Answer to your Q2: alt + shift + x , then press 1 of the listed options ( t, x, etc)

    3. Answer to your Q3: Your demand is not a good practice, I think. Make sure that you have to MANUALLY save all the files before you do any operations like running a unit test. Please make it as a habit.

    Further more, it seems that you are using linux OS like ubuntu? If so, please forget Aptana or other IDEs, VIM + console will satisfy you, and by using these basic tools, you will be more clear of what you are running and the necessary environment knowledge of deploying & running Rails application.

    I have 3.5 years of Eclipse and 1 year of Aptana experience, and yes, they are both great IDEs (almost the same), however, about 1 year ago I turn to VIM, which saved my life.

    UPDATED: thanks for the so much bonus scores! Here are more tips for you:

    1. whatever you are using ( Aptana, Eclipse, Netbeans, VIM) , do remember that the HOTKEY is important.

      in Apatana/Eclipse, you should know these keys:

      1. quick open file: ctrl + shift + r
      2. quick open in recent file: ctrl + e
      3. method outline: ctrl + o
      4. switch : ctrl + F6 , ctrl + F7
      5. inspect a method from the statement where it was called: (move the cursor to it then press) F3, or press ctrl key then left click your mouse.
      6. in Apatana for Rails:
        1. ctrl + shift + c : quick jump to controller
        2. ctrl + shift + v : quick jump to view
        3. ctrl + shift + m : quick jump to model
    2. VIM has a steep learning curve for us, in my experience, the first 2 weeks is the hardest time. Remember google is your best teacher. and here are the VIM plugins that I am using:

      1. autocomplpop
      2. fuzzy_file_finder
      3. greplace
      4. mru
      5. nerdcommenter
      6. project
      7. rails
    3. this article is worth reading: Using VIM as a complete ruby on rails IDE

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

Sidebar

Related Questions

I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a French site that I want to parse, but am running into
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I need to clean up various Word 'smart' characters in user input, including but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I need a function that will clean a strings' special characters. I do NOT
I have thousands of HTML files to process using Groovy/Java and I need to

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.