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!

2

Best Answer


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

bundle exec rackup

Looks like rackup was really rackup1.8. Problem was solved right after that! Anybody who runs into a similar issue, be sure to try rackup[version] along with just rackup.