A
Alex Stahl
This works under 1.8.7:
get "/" do
erb :text
end
__END__
@@text
<div id="test">
<h1>If you can read this</h1>
<h3>then we're up & running</h3>
</div>
********************************************
But running it under 1.9.2-p0 results in this error:
No such file or directory
- /home/ubuntu/load/<internal:lib/rubygems/views/text.erb
Already read through previous posts on Sinatra + 1.9.2 issues, checked
google, and didn't find much in either. Did find some suggestions that
I manually set the :view path, but that's for external, not inline,
templates. Any suggestions?
Thanks,
Alex
get "/" do
erb :text
end
__END__
@@text
<div id="test">
<h1>If you can read this</h1>
<h3>then we're up & running</h3>
</div>
********************************************
But running it under 1.9.2-p0 results in this error:
No such file or directory
- /home/ubuntu/load/<internal:lib/rubygems/views/text.erb
Already read through previous posts on Sinatra + 1.9.2 issues, checked
google, and didn't find much in either. Did find some suggestions that
I manually set the :view path, but that's for external, not inline,
templates. Any suggestions?
Thanks,
Alex