Ruby on Rails
Friday, September 19, 2014
Well if rails and gem are working I wonder:
Have you installed the dev kit?
Looks like the Json gem is failing because the dev kit isnt installed and it needs the build tools inside it
If you have installed the dev kit make sure you follow its instructions. It probably the path issue your error mentions.
Ive used this setup before though so I know its doable
On 18 September, 2014 4:39:40 AM PDT, Rohan Sarker <rohansarkerhr@gmail.com> wrote:
Starting up the Web Server Error Details:I executed the following commands:$ rails new blog$ cd blog"Starting up the Web Server"$ bin/rails serverC:\Ruby200\blog>bin/rails server'bin' is not recognized as an internal or external command,operable program or batch file.C:\Ruby200\blog>rails serverCould not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on this machine.Run `bundle install` to install missing gems.C:\Ruby200\blog>bundle installDL is deprecated, please use FiddleFetching gem metadata from https://rubygems.org/.......... Resolving dependencies...Using rake 10.3.2Using i18n 0.6.11Gem::InstallError: The 'json' native gem requires installed build tools.Please update your PATH to include build tools or download the DevKitfrom '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 serverCould not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on this machine.Run `bundle install` to install missing gems.C:\Ruby200\blog>Also I could not open the Web Server in http://localhost:3000Unable to connectFirefox can't establish a connection to the server at localhost:3000.The site could be temporarily unavailable or too busy. Try again in a fewmoments.If you are unable to load any pages, check your computer's networkconnection.If your computer or network is protected by a firewall or proxy, make surethat Firefox is permitted to access the Web.Please help in correcting the problem.RegardsRohan Sarker+913324288069 / +917278539338
--
Sent from my Android
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment