Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Basics (Retired) How Ruby Works The Ruby Programming Language

Why does ruby -v have to be lowercase? I tried Ruby -v and it doesn't work.


SivaKumar Kataru
SivaKumar Kataru
2,386 Points

Its a case Sensitive. When you type "ruby" in the shell/ Terminal the terminal will search for the "ruby" in the system path (/bin). If it founds "ruby" (which is treated as command by terminal) then the control we will be passed to ruby and invokes it. Since ruby is executable/ binary file. Else the terminal says "No Command Found".

Remember the name Ruby is Different from ruby. Though it sounds the same meaning. But computers are blind/dumb which needs the correct name.

1 Answer

In programming, uppercase and lowercase letters are totally different.