Dreamhost using RHTML...?

I’m revisiting Rails as a web app solution, and my previous playtime
with it had me using RHTML… now it’s outputting ERB files or
something. That’s all fine, I understand that it’s evolving, etc. I’m
sure ERB files are great compared to RHTML.

Thing is, I’ve got my files sittin’ pretty in Dreamhost, but I’m getting
this error:

Template is missing

Missing template
/home/.wycliffe/rinalich/healinglightyoga.com/hlyoga/app/views/event/index.rhtml

What should I do here…? Rename my erb files to rhtml?

Jose S. wrote:

I’m revisiting Rails as a web app solution, and my previous playtime
with it had me using RHTML… now it’s outputting ERB files or
something. That’s all fine, I understand that it’s evolving, etc. I’m
sure ERB files are great compared to RHTML.

Thing is, I’ve got my files sittin’ pretty in Dreamhost, but I’m getting
this error:

Template is missing

Missing template
/home/.wycliffe/rinalich/healinglightyoga.com/hlyoga/app/views/event/index.rhtml

What should I do here…? Rename my erb files to rhtml?

Never mind… I figured out what my problem was. My environment.rb file
was set incorrectly to Rails 1.2.6. I switched it, and all set.

Just for future reference, RHTML files and ERb files are the same
thing with a different file extension. :slight_smile:

–Jeremy

On Mon, Feb 25, 2008 at 4:43 PM, Jose S.
[email protected] wrote:

Missing template
/home/.wycliffe/rinalich/healinglightyoga.com/hlyoga/app/views/event/index.rhtml

What should I do here…? Rename my erb files to rhtml?

Posted via http://www.ruby-forum.com/.


http://jeremymcanally.com/
http://entp.com

Read my books:
Ruby in Practice (Ruby in Practice)
My free Ruby e-book (http://humblelittlerubybook.com/)

Or, my blogs:

http://rubyinpractice.com