Firstly, I am completely new to ROR. That is why I am following the "blog" example from
http://guides.rubyonrails.org/getting_started.html.
Secondly, running the installer didn't generate any error in any obvious way. But errors in running the blog example led me to think some gems seems to missing from installation.
Errors:
1. running "rails new blog" right after the installation, it seems to run "bundle update" implicitly. It aborts with this eror:
Then tried add "gem builder" to the Gemfile as suggested by a post from the web. no luck.
With the "bundle update" failure, some gems are missing. Subsequent steps failed and manual workaround didn't work. Pls see details below
My env:
a. Window XP
b. behind a corporate firewall. I can "ping
rubygems.org". Output is as below. Although timeout, it seems able to solve the hostname.
Pinging rubygems.org [54.245.255.174] with 32 bytes of data: Request timed out.
Request timed out.
Request timed out.
Request timed out.
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Question:
a. Should uglifier have been installed by the installer by default?
b. How to get around the
Could not fetch specs from https://rubygems.org error? Is it the firewall causing issue?
Help pls?
Details on troubleshooting effort:
Below is what I have tried. It is not going anywhere. Please help
1. "rake db:create" cannot complete as it complains uglifier missing
[31mCould not find gem 'uglifier (>= 1.0.3) x86-mingw32' in the gems available
n this machine.←[0m
[33mRun `bundle install` to install missing gems.←[0m
2. tried "bundle update". It gives the following error
3. tried manually download uglifier and install. This in turn asked for therubyracer, ref, and libv8.
4. installing libv8 3.16.14.1generates "Failed to build gem native extension." error and it complains Python 2 is missing.
4.1. installed Python and added it to user and system variable PATH. But it didn't make a difference.
5. installing libv8 3.11.8.12.generates error complaining about no gmake.
At this point, I gave up as from what I read, it seems libv8 is not supported on win.