Darkmouse
Darkmouse

Reputation: 1939

no syntax highlighting for Ruby Gemfile in Notepad++

I created a new app in Ruby on Rails and opened up Notepad++. It seems that most of the files are syntax highlighted for Ruby on Rails to make for easier development.

One problem, though is the Gemfile, which is not given a Ruby File extension:

Gemfile not Gemfile.rb.

Is there anyway to apply Ruby syntax highlighting to the Gemfile without changing the extension?

Upvotes: 2

Views: 278

Answers (1)

Claudi
Claudi

Reputation: 5416

Select menu Language -> R -> Ruby and this will apply coloring to the document. Unfortunately you'll have to repeat this every time you open the file.

Upvotes: 3

Related Questions