Zachary Christopoulos
Zachary Christopoulos

Reputation: 643

rackup: command not found

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!

Upvotes: 8

Views: 14539

Answers (2)

Zachary Christopoulos
Zachary Christopoulos

Reputation: 643

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.

Upvotes: 0

Michał Szajbe
Michał Szajbe

Reputation: 9002

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

bundle exec rackup

Upvotes: 18

Related Questions