saucelabs / the-internet

An example application that captures prominent and ugly functionality found on the web. Perfect for writing automated acceptance tests against.
http://the-internet.herokuapp.com
Apache License 2.0
787 stars 648 forks source link

It doesn't run with rakeup #23

Closed isakib closed 9 years ago

isakib commented 9 years ago

I've tried all possible ways to run with rakeup. That found, it runs with "ruby server.rb" to run the project on local server.

tourdedave commented 9 years ago

ruby server.rb is one way to run it. I believe the command you're looking for is rackup (e.g., bundle exec rackup to be precise). This works on my local development environment. Try it and let me know it's what you're looking for.

To be clear -- there is no rake task to launch the server. If you do a rake -T you'll see the following output:

rake gen_docs    # Generate docs
rake release     # Pushes tags and code to master, develop, and heroku
rake rm_uploads  # Cleanup uploaded files

These tasks are to handle the administrivia of the library (e.g., updating documentation, releasing the software to GitHub and Heroku, etc.).

isakib commented 9 years ago

Thanks. I was following readme.md file. So, I found bundle exec rackup does the job nicely, as you've mentioned.

tourdedave commented 9 years ago

Ah, I thought you were trying rakeup (which isn't a valid command).

isakib commented 9 years ago

Then, could you please update Start the server: => https://github.com/tourdedave/the-internet with bundle exec rackup instead of rakeup at README.md file.

tourdedave commented 9 years ago

There's nothing to update since README.md already states rackup (not rakeup). Adding bundle exec might benefit some people, but it's not necessary for everyone since this requirement varies based on your local development setup (e.g., RVM vs. rbenv with or without binstubs vs. direct install).

isakib commented 9 years ago

Thanks a lot @tourdedave for your support.