Guest User

Untitled

a guest
Jun 21st, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. ## [plain_text]
  2. So I moved my call to Sequel.sqlite inside a route so that I get the output from Ruby.
  3. ## app.rb [ruby]
  4. require 'sinatra'
  5.  
  6. get '/' do
  7. begin
  8. DB = Sequel.sqlite
  9. "Hey, it worked this time!"
  10. rescue
  11. $!.to_s+" "+$!.backtrace.join( '<br>' )
  12. end
  13. end
  14. ## [plain_text]
  15. This is what's output
Add Comment
Please, Sign In to add comment