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

1

14

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)

Sliding answered 19/12, 2015 at 19:14 Comment(2)
Try gem install tiltFolkrock
Whats the version of sinatra and tilt installed ?Gastight
F
1

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

Fregger answered 8/8, 2016 at 9:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.