Ruby on Rails
Friday, September 19, 2014
Hi Rohan,
To add to Clayton's message re DevKit. You may use the following instructions.
Thanks,
Vic
On Friday, September 19, 2014 3:04:17 PM UTC+8, clayton cottingham wrote:
-- To add to Clayton's message re DevKit. You may use the following instructions.
1) Download DevKit file from http://rubyinstaller.org/downloads (DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe)
2) Extract DevKit to path C:\Ruby200\DevKit
3) Go to DevKit installation directory, cd C:\Ruby200\DevKit
5) Run the command ruby dk.rb review
6) It is useful to review the list of Rubies to be enhanced to use the DevKit and verify the changes you made to it are correct.
Run ruby dk.rb install
7) Run gem update --system and run bundle install to your project folder.
Thanks,
Vic
On Friday, September 19, 2014 3:04:17 PM UTC+8, clayton cottingham wrote:
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 <rohans...@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 instructionsAn 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
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/0cd0e866-cb09-4f56-ab4f-78e906aad05b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment