Running a rails server


Hi guys, I am new to the Pro version, I am trying to run the command "rails s -p 8080" but I keep getting the following error message in the console:
$ rails s-p 8080
Warning: You're using Rubygems with Spring. Upg
rade to at least Rubygems 2.1.0 and run gem pristine --
for better startup performance.
Error: Command 's-p' not recognized
Usage: rails COMMAND [ARGS]

The most common rails commands are:
generate Generate new code (short-cut alias: "g")
console Start the Rails console (short-cut alias: "
server Start the Rails server (short-cut alias: "s
dbconsole Start a console for the database specified
in config/database.yml
(short-cut alias: "db")
new Create a new Rails application. "rails new
my_app" creates a
new application called MyApp in "./my_app"

In addition to those, there are:
application Generate the Rails application code
destroy Undo code generated with "generate" (short
-cut alias: "d")
plugin new Generates skeleton for developing a Rails
runner Run a piece of code in the application env
ironment (short-cut alias: "r")

All commands can be run with -h (or --help) for more inf

I hope someone can help me with this, thank you.


Have you read what it is saying it can't do? It says "Error: " and then the problem