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 trialibrahim Warsame
7,803 PointsCant run hello.rb file. Anyone has some ideas.
Here is what im trying to run:
puts "Hello World!"
and here is what i get:
treehouse:~/workspace$ rupy hello.rb
bash: rupy: command not found
treehouse:~/workspace$ irp
bash: irp: command not found
treehouse:~/workspace$
4 Answers
Brandon McClelland
4,645 PointsYou're using p instead of b for both of these: ruby and irb
Brandon McClelland
4,645 PointsYou need to type ruby, not rupy.
ibrahim Warsame
7,803 Pointsokay then. Why isnt the irp command working.
rowend rowend
2,926 PointsBecause the command irp does not exists. The command that works is irb.
ibrahim Warsame
7,803 PointsThanks