How to Open a .RHTML File on Windows

How can i open a RHTML file on Windows 7?
deklinmAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Ruby

From novice to tech pro — start learning today.