rackup Questions

4

Solved

I've got a Sinatra "hello world" app that I am trying to run using jRuby. It works when I run the app, but not when I run rackup. Can anyone tell me what is going on here? Here's the app, in a fil...
Pagoda asked 12/1, 2015 at 10:24

1

When deploying a modular Sinatra app to Heroku, I keep getting this error: bundler: failed to load command: rackup (/app/vendor/bundle/ruby/2.4.0/bin/rackup) I've tried tweaking my config.ru and ...
Caputto asked 13/7, 2018 at 8:53

2

Solved

My setup and the error I get an error when I start my Sinatra application with rackup and puma. My config.ru file looks like this: #\ -s puma require './controller/main.rb' run Sinatra::Applicati...
Oocyte asked 20/5, 2013 at 10:6

2

Solved

I'm new to ruby, learning Sinatra. While creating a Sinatra site by requiring 'sinatra' and setting up the routes directly under is pretty easy and rather well documented, creating an application b...
Wrangle asked 8/12, 2010 at 15:29

1

Solved

When calling sinatra itself, $ ruby tubemp.rb works. But via rackup it does not. The application, somehow cannot find the inline templates. #config.ru require 'rubygems' require 'sinatra' set :en...
Kubetz asked 26/3, 2013 at 14:46

2

Solved

I am currently working on a project that requires the rackup command on ubuntu 11.04, but I am getting an error: -bash: rackup: command not found. I have installed both the rails and rack ruby gems...
Hegarty asked 26/6, 2012 at 7:58

2

Solved

This will probably make me look lame but still -- I can't find any formal description for either a typical rack application structure (folders/files, like public, config.ru), or the config.ru file ...
Gamble asked 29/11, 2011 at 14:56
1

© 2022 - 2024 — McMap. All rights reserved.