mercredi 1 juin 2016

Installing Rails on Windows 10 via Rails Installer yielding Errno::EACCES error on Ruby2.2.0/lib/ruby/2.2.0/socket.rb:206

Steps leading up to this:

  1. Run Rails Installer
  2. Follow directions here: http://ift.tt/1PlI7sc to replace bugged line in bin. I manually copy pasted every single file that had the dev's path.
  3. bundle
  4. rails s on my own project or doing rails new foobar and then rails s yields the following in the console.

C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/socket.rb:206:in bind': Permission denied - bind(2) for 127.0.0.1:3000 (Errno::EACCES) from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/socket.rb:206:inlisten' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/socket.rb:461:in block in tcp_server_sockets' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/socket.rb:232:ineach' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/socket.rb:232:in foreach' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/socket.rb:459:intcp_server_sockets' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/webrick/utils.rb:70:in create_listeners' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/webrick/server.rb:133:inlisten' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/webrick/server.rb:114:in initialize' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:45:ininitialize' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:31:in new' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:31:inrun' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:286:in start' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/server.rb:80:instart' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:80:in block in server' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:75:intap' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:75:in server' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:39:inrun_command!' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands.rb:17:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `'

Please assist. I also installed Postgres and PGAdmin.

Aucun commentaire:

Enregistrer un commentaire