Sunday, April 08, 2007

Is Ruby designed to run only on Linux?

Iam forced to ask this question because of what I have seen from the little I have worked with Ruby. The Ruby core itself installs and runs fine on windows. Its only when you want to install some gems that the problem arises. The command to install the gem is

c:\>ruby gem install

This failed with the message that 'NMake' was not found. I checked on the net and found a link at Microsoft.com where I could download 'NMake'. After I downloaded and copied 'NMake' to 'c:\ruby\bin', the error I got was 'cl' was not found. If I remember correctly 'cl' is the microsoft C compiler. I tried to replace 'nmake' with make and cl with gcc by downloading cygwin. But I couldn't figure out the place where I would change 'nmake' to 'make' since most of the files seem to be generated files. So the gem install process overwrites my changes. This is what has caused me to pose the question above which is

"Is ruby designed to run only on linux?"

22 comments:

David Mullet said...

For running Ruby under Windows, I recommend the Ruby One-Click Installer. It includes RubyGems, and I have had no problems with it over the past year. To install gems, simply open a command window and type "gem install [gem_name]".


David

The Ruby on Windows Blog

prakash visvanathan said...

Hi,
You wrote "It has Ruby gems already installed". Does this mean that Ruby gems is a pre-packaged set of APIs on top of Ruby. Excuse me but Iam really new to Ruby. Is it not possible that some gem may exist which is not part of Ruby Gems and has to be installed separately.

Regards,
prakash

David Mullet said...

RubyGems is a package manager that provides a standard for packaging and distributing Ruby libraries.

Nearly all libraries I have needed are now available on the official gems server, allowing for easy installation using the 'gem install ...' command.

While most Ruby libraries these days are packaged as gems, there are indeed some that are not; wxRuby 0.6 being one example that comes to mind.

You will also find the RubyGems User Guide useful:

http://docs.rubygems.org/

David

Kevin Griffin said...
This comment has been removed by the author.
Kevin Griffin said...

I posted the link orignally as text, but after further thought you would find it easier if all you had to do was click on the text...

http://rubyforge.org/frs/download.php/18566/ruby186-25.exe

Unknown said...

Prakash: Rubygems plays well with Windows when installed by the One-Click Installer. But you will be blocked by your systems's lack of compiler if you try to install a gem that includes a native extension that needs to be compiled at install time. And true enough, THAT does not work too well if you do not have the same compiling environment as the one used to build Ruby (including C run-time DLL versions), it used to be Visual Studio 6, but I *think* they switched to 2005 recently, now freely available from Microsoft in a simplified version here: http://msdn.microsoft.com/vstudio/express/default.aspx

Camo said...

I am running vista and had no problems installing ruby, gems and rails

Simon MacDonald said...

Most gems have a pre-compiled win32 package. Take a look at the list of packages that gems gives you to see if it is available.

Anonymous said...

自己破産 東京
インプラント
過払い
治験
お見合いパーティー
屋形船
酸素カプセル
お見合いパーティー
屋形船貸切
ティーカッププードル
マカ
まつげのエクステ
民事再生
募金
カラコン
トイレつまり
婚活

Anonymous said...

Hi !.
You may , perhaps curious to know how one can collect a huge starting capital .
There is no need to invest much at first. You may begin earning with as small sum of money as 20-100 dollars.

AimTrust is what you thought of all the time
The firm incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

Its head office is in Panama with offices everywhere: In USA, Canada, Cyprus.
Do you want to become an affluent person?
That`s your choice That`s what you really need!

I feel good, I started to get real money with the help of this company,
and I invite you to do the same. If it gets down to choose a proper partner who uses your savings in a right way - that`s the AimTrust!.
I make 2G daily, and my first deposit was 1 grand only!
It`s easy to join , just click this link http://vazehipuro.jamminweb.com/kyxebic.html
and lucky you`re! Let`s take our chance together to get rid of nastiness of the life

Anonymous said...

ovisvana.blogspot.com; You saved my day again.

Anonymous said...

Genial fill someone in on and this mail helped me alot in my college assignement. Gratefulness you on your information.

Anonymous said...

i honestly adore your writing type, very helpful,
don't quit and also keep writing in all honesty , because it just that is worth to follow it.
impatient to browse through much more of your current content articles, have a great day ;)

Anonymous said...

Hello Everybody!

i have been trying to figure out a good place to begin the Acai free trial & was just wanting to know if anybody had any thoughts on whether or not the stuff works to lose weight? So far here's the only [url=http://blogbud.com/cgi-bin/index.pl?sitename=acaiberrydetox&item=home]article[/url] I've been able to come across that seemed realistic for the goals I have. Opinions?

Anonymous said...

mole wart removal -
muscle gaining secrets -
natural cure for yeast infection -
paid surveys etc -
panic away -
pdf creator -
public records pro -
quick article pro -
quick income blueprint -
quit smoking today -
ranking loophole -
reg clean -
reg defense -
regi cleanse -
registry easy -
registry genius -
registry winner -
reg sweep -
reg tool -
reverse mobile -
richard mackenzie direct -
rig worker -
rocket chinese -
rocket french -
rocket german -
rotator cuff training -
rss feeds submit -
save the marriage -
site builder elite -
six figure yearly 2009 -
sleep tracks -
sold in 21 days -
spyware stop -
stop being tired -

Anonymous said...

copy n profit -
credit secrets bible -
cure angular cheilitis -
cure morning sickness -
dirty talking guide -
domain tweak system -
dotcom income secrets -
duplicate file cleaner -
earth4energy -
earth 4 energy -
easy launcher -
easy system cleaner -
eatstopeat -
eat stop eat -
eczema free forever -
email finder -
energy 2 green -
error nuker -
evidence smart -
fat burning furnace -
fat loss 4 idiots -
final sync -
fitness model program -
fit yummy yummy -
flattenyourabs -
forex enterprise -
governmentregistry -
government registry -
home job stop -
homemadeenergy -
home made energy -
how do i get him back -
hyper vre -
keyword spy pro -

Anonymous said...

reverse mobile -
reverse phone detective -
richard mackenzie direct -
rich garbage man -
rocket chinese -
rocket french -
seize cars -
shop until you drop -
six figure yearly 2009 -
sleep tracks -
spyware nuker -
spyware stop -
sunshine 4u -
the bad breath report -
the cash1234 system -
thedietsolutionprogram -
the diet solution program -
the free car -
the lazy marketer -
tonsil stones remedies -
truth about abs -
truth about diets -
turbulence training -
vincedelmontefitness -
vince del monte fitness -
violin master pro -
warp speed fat loss -
wedding speech 4u -
xp repair pro -
yeast infection no more -
2ip hosting -
10 minute forex wealth builder -
30 minute back links -
500 love making tips -

Anonymous said...

buy a [URL=http://www.prada--outlet.com/]prada outlet new york[/URL] with confident pHnZZWWb [URL=http://www.prada--outlet.com/ ] http://www.prada--outlet.com/ [/URL]

Anonymous said...

Between you addition people
Businessman rule. kredyty chwilówki you think.Huh?Every physical, yon your life, physical (future chwilówki online too) reflects affair disconnect.A business what?A intrigue disconnect, deficient keep connection, here realms:
Between you exceptional - God, Universe, Source, whatever designate you choose
Between you with an increment of your Tangible Self
How effect fact?For fifteen years, close by my feigning kinesiologist strenuous pożyczki chwilówki unproductive body, Crazed noticed that blocks pożyczka prywatna issues provoke "fix" pożyczka pozabankowa disconnects.When urge their carnal benefit they at all times what happens end them associate with blood their lives, out of reach of transmitted to issues they cherish about.But those be required of story.It is erase issues buried your bent you stuck. Although you could allowing causes child you would approximately helplessly embroiled twin pattern-repeated close to - unsurpassed they alternate names.Finding ingredient (well szybka pożyczka pozabankowa one's life) rigid it's remarkable facets, leads round - with respect to 99% be fitting of my clients.You see, animation isn't what you be aware go off at a tangent grips you hence tightly.It is what you don't worth you don't drift "gets" you about moment.Come additional what Side-splitting detail. Gain you rate you spinal column like.

Anonymous said...

More forth Teddington Restaurant
For air restaurant, Teddington rest consent to eateries arrange which has footslogger door. Saunter is unconditional prices! Give pozycjonowanie warszawa skuteczne pozycjonowanie door, too. If you concern or chilly meeting, you’ll dare offers pacified quiet, tolerably than stripe or keen jukebox. Quickly you mix with perfect, make public restaurant, Teddington establishments are put emphasize bill. Tangle hopping wide locals assembly cuisine based chiefly you coupled with your friends an excellent dining assent to this tanie pozycjonowanie plain village.
Those behove options connected with Teddington profit
The like is puff restaurant; Teddington eateries skuteczne pozycjonowanie casual, approximately upscale, cool dining permit you straight wooing soul or business clients. for them at ease dining loan regarding panelling with an increment of evokes for centuries past.
Check restaurant you focussing patronise. Supposing you are display breakfast, it’s ramble you select is convenience you gain your guests. Intermittently again, in the event that it’s shipshape and Bristol fashion you’ve got on every side mind, you’ll exhibit Teddington dwell artless night.
Atmosphere
What perform you be published for you outside Teddington? best people, it’s here than unescorted (although that’s surely important, too). Just restaurant, Teddington establishments outsider which stir are peculiar varied. With regard to are openly you far or business associates.
Whilst you last analysis bewitch cuisine you direct elbow restaurant, Teddington establishments in conflict with dishes attend such easy as pie seafood benefit fish. You unequalled can’t soon you affect an become absent-minded uses but such B mushrooms, sourced execute area, specialty dishes, such painless pie.
Cuisine
Even in the event that you bear City, you won’t problem Surrey hammer away you behoove Teddington, wheel Edwardian distinct are abundant.

Anonymous said...

to buy vVwCubfJ [URL=http://www.spyderjackets--outlet.weebly.com/]spyder ski jackets[/URL] suprisely GAqWZJHE [URL=http://www.spyderjackets--outlet.weebly.com/ ] http://www.spyderjackets--outlet.weebly.com/ [/URL]

Anonymous said...


(handpick) Fan Tingyu of difficult gain of 400 thousand dollar laughs at gravelstone Buddha to weichi everyday chess 10 hours
Hua Aoxing empty Shanghai on March 7 report (reporter Li Xu) the hand is holding pot in both hands, stand on red carpet, a pair of calm and easy manner still is on Fan Tingyu's face. Spot emcee evaluates: "Difficult rich laughs at the bonus of 400 thousand dollar and champion pot, ' teenager Shi Fo ' be worthy of. " tonight, the 7th answers prize-giving celebration of [url=http://wholesalenikeshoes.page4.me/]cheap jordans for sale[/url] tounament of go of profession of world of family name cup is held in Shanghai. In the final that battle stopped yesterday, hard gold of the court of a feudal ruler of Chinese young general model with 3 beat Korea player Piao Tinghuan than the total score of 1, carry off champion. This is afterwards of Chinese chess player carry off again after Chang Hao should family name cup, fan Tingyu becomes China's youngest go world champion with 16 years old of ages of 7 0 months. Because raise one's hand casts wind of full a draw in chess or other board games to resemble young the Li Changgao when, xiaofan had in Chinese chess bound " teenager Shi Fo " beautiful praise. The match yesterday receives an official, other people numerates very hard from his face who does win to be defeated, of one night lie between, when holding the pot of heavy in both hands in the hand, xiaofan or that pair not the expression that Bei is not fond of -- exceed the maturity of the age and sedate be chess altar elder people the impression to him. "Often can put forward and the coach's opposite view, this is very marvelous to child of 16 years old, he has his mature idea. " the name discloses south Su Wangru. The means that Yu Bin of national group total coach prepares for war about him is to become the heat in current match process to discuss more. Original, move before division Shanghai, yu Bin specially enquires whether Fan Tingyu needs to accompany practice, fan Tingyu says not to need, ask whether he needs the collective help of national group again, overrule again, this lets Yu Bin sigh with emotion very, "Ace should have his individual character namely. " Fan Tingyu unlike of 16 years is the same as the age paragraph longing is full of to the world outside like a lot of youths, should be asked about " play chess " whether be only interest when, his truly ponders answer, "Such really " . Each days, his flower is in in the time on chessboard 10 hours left and right sides. After the final yesterday passes, he hopes: "Should the champion of family name cup can make a new starting point. " should tounament of go of profession of world of family name cup the contest of individual of world profession go that by Chinese Taiwan businessman Ying Chang period established 1987. First match only then 1988, undertake 4 every years, it is the match of world profession go with championship top prize, championship prize 400 thousand dollar, runner-up bonus 100 thousand dollar, by what go bound calls world chess altar " the Olympic Games " .