Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## [plain_text]
- So I moved my call to Sequel.sqlite inside a route so that I get the output from Ruby.
- ## app.rb [ruby]
- require 'sinatra'
- get '/' do
- begin
- DB = Sequel.sqlite
- "Hey, it worked this time!"
- rescue
- $!.to_s+" "+$!.backtrace.join( '<br>' )
- end
- end
- ## [plain_text]
- This is what's output
Add Comment
Please, Sign In to add comment