Ruby on Rails Thursday, September 18, 2014

Starting up the Web Server Error Details:

I executed the following commands:

$ rails new blog
$ cd blog


"Starting up the Web Server"


$ bin/rails server

C:\Ruby200\blog>bin/rails server
'bin' is not recognized as an internal or external command,
operable program or batch file.

C:\Ruby200\blog>rails server
Could not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on thi
s machine.
Run `bundle install` to install missing gems.

C:\Ruby200\blog>bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 10.3.2
Using i18n 0.6.11

Gem::InstallError: The 'json' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.1'` succeeds before bundling.

C:\Ruby200\blog>rails server
Could not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on thi
s machine.
Run `bundle install` to install missing gems.

C:\Ruby200\blog>


Also I could not open the Web Server in http://localhost:3000

Unable to connect       
        
Firefox can't establish a connection to the server at localhost:3000.  

        
        

  The site could be temporarily unavailable or too busy. Try again in a few
    moments.
  If you are unable to load any pages, check your computer's network
    connection.
  If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.


Please help in correcting the problem.




Regards
Rohan Sarker
+913324288069 / +917278539338

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d734437f-a170-480f-902e-8f75dc3c1f2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment