How to Open a .RHTML File on Windows

How can i open a RHTML file on Windows 7?
deklinmAsked:
Who is Participating?
 
Cliff GaliherConnect With a Mentor Commented:
An rhtml file is simply a text file with HTML and embedded ruby. By default there is no associated program with a file that ends in .rhtml so double-clicking should bring up the dialog box to choose which program to open the file with. I'd download a good text editor and check the box to always open with that editor.

Alternatively you can right-click the file and choose "Open With..." which will get you to the program selection screen more quickly. And again, simply choose the program of your choice (notepad, etc) and if desired, check the box to "always open" with that program. Then all future double-clicks will default to that program.

There are several good text editors that offer Ruby and HTML highlighting to make working with files easier. I like notepad++ myself.

-Cliff
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.