How to resolve issue starting Ruby on Rails server on Cloud9 ide? -


i'm trying start web server rails app on cloud9 ide workspace , i'm receiving error message:

`require': cannot load such file -- rack/handler/server (loaderror)

this code running:

rails s -p $port -b $ip server 

i'm new ruby on rails apologies if pretty simple.

you're running

$ rails s -p $port -b $ip server 

when should be

$ rails s -p $port -b $ip 

you added extraneous server because you're used running rails server, rails s shorthand former.

it looks argument rails causing file named server in rack/handler, , when doesn't find file throws error.


Comments

Popular posts from this blog

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -