Tilt Error: uninitialized constant Tilt::CompileSite

760 views
Skip to first unread message

DAZ

unread,
Mar 25, 2014, 7:28:05 PM3/25/14
to sina...@googlegroups.com
<module:Templates>': uninitialized constant Tilt::CompileSite (NameError)

I'm trying to launch a simple app on Heroku and keep getting this error.

Does anybody know what it is and how to fix it?

cheers,

DAZ

Sergey Makridenkov

unread,
Mar 29, 2014, 2:31:42 AM3/29/14
to sina...@googlegroups.com
What version of Sinatra are you use?

I have same problem. Fix by put -> gem 'sinatra', '>= 1.4.4'

DAZ

unread,
Mar 29, 2014, 4:55:57 PM3/29/14
to sina...@googlegroups.com
Hey Sergey,

I fixed it by removing Tilt version 2.0.1 and using the line
gem "tilt", '~>1.4.1'
in my Gemfile

What version of Tilt are you using? I'll try using your fix of using Sinatra 1.4.4 along with tilt 2.0.1 and see if that fixes the issue also.

Cheers,

DAZ
Reply all
Reply to author
Forward
0 new messages