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)

Tobias
  • 4,523
  • 2
  • 20
  • 40
Feras
  • 141
  • 4

1 Answers1

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

Community
  • 1
  • 1
Finks
  • 1,661
  • 2
  • 16
  • 25