- Open the "Window Menu" --> Preferences
- Go to General --> "Content Types"
- Expand "Text" node under "Content types"
- Select "Ruby Source File"
- Click the "Add..." button and enter "Gemfile" as the content type.
- Click the "OK" button to save your changes.
The above procedure can be used to add files for the following content types:
- CSS Source Files
- ERB Source Files
- HAML Source Files
- HTML Source Files
- JAR Manifest Files
- Java Property Files
- Java Source Files
- JavaScript Source Files
- SASS Source Files
- XML Build Files (Ant, etc)
- XML Source Files (xml, xslt, etc)