Gem Install Nokogiri Newb

Hey guys, would really appreciate your help, I’m a complete noob with
programming.

Could someone please tell me how to install a gem on Ruby on Windows. I
am trying to install Nokogiri and have downloaded the gem.

install gem nokogiri

=> gives me the undefined local variable error

On Sep 2, 2012, at 22:18 , Benedict W. [email protected] wrote:

Hey guys, would really appreciate your help, I’m a complete noob with
programming.

Could someone please tell me how to install a gem on Ruby on Windows. I
am trying to install Nokogiri and have downloaded the gem.

install gem nokogiri

gem install nokogiri

not

install gem nokogiri

It may still mess up, being windows, but it’ll at least provide a more
relevant error.

On Sep 3, 2012, at 00:36 , Benedict W. [email protected] wrote:

"undefined method ‘install’ for main:Object

Don’t type it into the ruby console (irb)… type it into your
cmd/terminal/shell

Ryan D. wrote in post #1074388:

On Sep 2, 2012, at 22:18 , Benedict W. [email protected] wrote:

Hey guys, would really appreciate your help, I’m a complete noob with
programming.

Could someone please tell me how to install a gem on Ruby on Windows. I
am trying to install Nokogiri and have downloaded the gem.

install gem nokogiri

gem install nokogiri

not

install gem nokogiri

It may still mess up, being windows, but it’ll at least provide a more
relevant error.

Thanks for the reply dude. I still get the error message

"undefined method ‘install’ for main:Object

Ryan D. wrote in post #1074393:

On Sep 3, 2012, at 00:36 , Benedict W. [email protected] wrote:

"undefined method ‘install’ for main:Object

Don’t type it into the ruby console (irb)… type it into your
cmd/terminal/shell

Aghhh! Thanks so much, it finally works