rackup: command not found

Zachary Christopoulos picture Zachary Christopoulos · Jun 26, 2012 · Viewed 11.5k times · Source

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.

Any help with this would be awesome!

Answer

Michał Szajbe picture Michał Szajbe · Jun 26, 2012

if you're using bundler then perhaps you need to use bundle exec

bundle exec rackup