Can't access server page

rails
ruby

#1

Unable to access my server page after running my rails server. I’ve used this workspace for 2 months now and haven’t had this problem.

I hit the green Run Project arrow, click the link in the green share box, and I get the “no application seems to be running here!” page no matter what browser or how many times I refresh or how long I wait. Restarted the server several times.

Your code is running at https://billshare-necrostic.c9users.io.

=> Booting WEBrick
=> Rails 4.2.5 application starting in development on http://0.0.0.0:8080
=> Run rails server -h for more startup options
=> Ctrl-C to shutdown server
[2016-08-27 15:58:40] INFO WEBrick 1.3.1
[2016-08-27 15:58:40] INFO ruby 2.3.0 (2015-12-25) [x86_64-linux]
[2016-08-27 15:58:40] INFO WEBrick::HTTPServer#start: pid=5938 port=8080


#2

Try to Download Your Project And Make A New Workspace And uUpload Your Peoject


#3

When I run the server with the command “rails s -b $IP -p $PORT” I get this error:

Exiting
/usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require': cannot load such file -- rack/handler/s (LoadError) from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:inblock in require’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:inrequire’
from /usr/local/rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/handler.rb:78:in try_require' from /usr/local/rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/handler.rb:16:inget’
from /usr/local/rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/server.rb:290:in server' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:125:inprint_boot_information’
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:75:in start' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:80:inblock in server’
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:in tap' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:inserver’
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in run_command!' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in<top (required)>'
from /home/ubuntu/workspace/bin/rails:9:in require' from /home/ubuntu/workspace/bin/rails:9:in<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:in load' from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:incall’
from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/client/command.rb:7:in call' from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.1/bin/spring:49:in<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in load' from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in<top (required)>'
from /home/ubuntu/workspace/bin/spring:13:in require' from /home/ubuntu/workspace/bin/spring:13:in<top (required)>'
from bin/rails:3:in load' from bin/rails:3:in

Process exited with code: 1


#4

It Would Be Swell If We Could Upload A Folder And Not Have To Drag Individual Files When ReUploading Our Workspaces


#5

@damiong28 which browser do you use? Only chrome and opera support folder uploads.
On firefox you need upload the archive, and then use unzip or tar xzf to extract its contents

btw deleting the workspace is not a very good idea, since depending on the type of the error, one will end up doing lots of work, losing some configuration, and getting same error on the new workspace.