I viewed all your tutorials about Ruby and found that they are very interesting. Could you give some more information about what is the best programming language to learn because I am freshman to computer programming.

You asked: Could you give some more information about what is the best programming language to learn

After programming for a while, I’ve seen that question many times, and its like asking: “What is your favorite programming language?” Since programmers tend to tell people to learn what they like the most. So I’ll tell you Ruby! One of my friends will tell you GML. A teacher of mine will tell you C++.

A question I have for you would be: Why do you want to learn programming?
Do you want to make games?
Websites?
As a tool to help with math?
Image processing?
Automation?
Operating System development?
… the list goes on, and I may never guess your reasons

Programming languages are just tools, a means to a end. If you have never programmed before, it’s good to start with an easy to understand programming language. I find Ruby to be both easy and powerful, and it cuts some of the crap languages like C++ have. That’s why I use Ruby, but you may not like Ruby or it may not be suited for your needs. Many languages are better for certain tasks. There are some things I *can* do in Ruby, but won’t because there is something better suited to what I want to do.

So with all that, I will end with the question: Why do you want to learn programming?

Hey Manwithcode..
I love your tutorials, but in the 5. tutorial you make a ‘?’ in irb.
when I make that sign I press ALT + 179, and it works everywere but not in irb there it just writes agi….
can you please help me

Man ! Please – work make more content! Belive people needs it ! everyone will apriciate ! More Youtube videos with explanation realy realy helps A LOT

I am russian and i think i am going to start a russian community of games on ruby – becouse i like this language a lot ! and it is crossplatform – this is a huge good.

I started to learn JavaScript for Unity3D – but it wasnt so interesting. becouse on ruby you can build games, webs, software (maybe) and you will understand everything. Even if to write a game on ruby is much harder right now for me becouse i havent even tryed – i feel that it will be revolutionary.

i will answer why do i learn programming – i want to make games. and i wont learn other then ruby – becouse i speak the same language as code.

I am a “late” visitor to your website. As I continue learning
programming, I came across your Ruby Tutorial programming
on youtube last week (Nov 21, 2011) I then proceeded to your website http://www.manwithcode.com
To my surprise, it seems you are moving to different directions.
It is a sad news to me because I think I found one the best youtube “Professors” in explaining programming.

At the same time, I wish you the best.
Also soon, this upcoming this December I will be donating to your website.

Hopefully, you will decide to come back in tutoring. You kick A… in teaching.

I am trying to get rvm 1.9.2 on my OSX, but am having problems.
I have been following the steps on http://screencasts.org/episodes/how-to-use-rvm
but even if I install rvm, my terminal can’t find it. Are you familiar with this at all and do you have any recommendations?

hello, i m from Turkey.
i just read here that making awesome work on Ruby. first of all thank you.
in Turkey i also make a tutorial to teach Ruby in Turkish.
i need a help about “syntaxhiglighting” the codes.
i like your synhigligh. windows.
can you tell me what type synhig. that you used here and a brief explan. ?
fyi : my website only by html. and not with videos 🙁 .

I think your Ruby tutorial videos are fantastic. It’s clear that you have a knack for for your field and a talent for sharing it. We are looking for these types of instructional videos for a new project at Shutterstock. I am reaching out to a select few instructors that I think would be fantastic early contributors. As we launch in just 3 weeks, now would be the perfect time to join. Pre-launch contributors are getting a 10% bonus as well as direct input on our design and vision.

If you are interested, please reply to this email and I will send you more information.

I have been watching your videos on how to create Pong, but I was just wondering what the use of the dependencies/Rubygames is? Why do you have to install it on your computer, and why do you have to use it? I know that some gems are allowed to be installed directly from the Ruby with Command Prompt program, but why is the Rubygames not there?

This question might be worded a tad confusing, but I just wanted to know why the dependencies were needed and why you have to copy the files to your Ruby193 folder on your computer.

I sent an email reply to you, I’ll post part of it here so other people can benefit from it:

You’re talking about the zip file that the tutorial said to download, right?

Rubygame gives us access to a library written in C, called SDL. Most ruby libraries don’t redistribute C code that they rely on, but instead have you download and install it yourself.

Now, why do they do that? A lot of reasons. The files you have to download for the C libraries are different for every platform, even though usually the Ruby library will work on multiple platforms, and a creator of a Ruby library doesn’t usually want to have to deal with creating platform specific gems when he doesn’t have to. When the C library updates, the maintainer of the Ruby library would then be forced to update his library. If the C library has a restricted license, the creator of the Ruby library doesn’t have the legal right to distribute the C library. There might be more reasons too, but those are the ones I can think of off the top of my head.

I got an error when I finished the tutorial with Ruby Programming with Games
Here is the error :

C:\Users\Admin\Desktop\Raoof\RubyGame>ruby game.rb

C:/Ruby200/lib/ruby/gems/2.0.0/gems/rubygame-
2.6.4/lib/rubygame/music.rb:02:im ‘load’: Could not load Music file ‘media/background.mp3’: Failed loading (Rubygame::SDLError)ified module could not be found.

from C:/Users/Admin/Desktop/Raoof/RubyGame/lib/ingame.rb:2:in ”

from C:/Users/Admin/Desktop/Raoof/RubyGame/lib/ingame.rb:1:in ”

from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in ‘require’

from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in ‘require’

I realize I’m almost 3 weeks late to answering this, but I figured I’d answer it anyways. Sorry it took me so long.

A couple things might be going wrong: 1) The path to the music file might be wrong. 2) Something could be weird with the fact that you’re using Ruby 2.0, and I think these tutorials were made for 1.8.7, which is quite old now.

If you haven’t figured it out in these three weeks, send me an email with a zip file that has your code in it, and I’ll try to debug it on my machine.

Hello Tyler,
Thank you very much for making these videos. I needed to get up to speed with ruby very quickly for the purposes of implementing custom providers for puppet. Your videos are short and to the point.