Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Taps server error `<module:Templates>': uninitialized constant Tilt::CompileSite (NameError)

I'm trying to migrate my sqlite3 database to a postgresql, but i can't get passed this error.

when i run taps server sqlite://db/development.sqlite3 [user] [password]

I keep getting /Users/phillipjarrar/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sinatra-1.0/lib/sinatra/base.rb:298:in <module:Templates> : uninitialized constant Tilt::CompileSite (NameError)

like image 755
Feras Avatar asked Dec 19 '15 19:12

Feras


1 Answers

It seems that's a current bug on version 2.x of Tilt. You need to downgrade it to ~ 1.4.

Here's a link to another SO question about Tilt for reference. `<module:Templates>': uninitialized constant Tilt::CompileSite (NameError) using Sinatra / Unicorn

like image 85
Finks Avatar answered Sep 21 '22 16:09

Finks