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
Post a Comment