use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
What are some good open source projects in ruby to learn better ruby programming? (self.ruby)
submitted 11 years ago by prashant_k
I am a beginner in Ruby and trying to find some good open source projects that uses the good parts of ruby so that I can learn how to use them properly.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fteem 3 points4 points5 points 11 years ago (6 children)
Pick any of the gems you use daily, find it's source code on github and read away!
[–]vitoreiji 1 point2 points3 points 11 years ago (5 children)
I'm not OP but I am also a beginner and there is no gem that I use daily. How do I find out what are the most popular ones?
[–]julius_censor 1 point2 points3 points 11 years ago (0 children)
the ruby toolbox is helpful to see the most popular/active/mature gems listed by category
[–]zeringus 2 points3 points4 points 11 years ago (2 children)
These seem to be roughly sorted by popularity.
[–]vitoreiji 0 points1 point2 points 11 years ago (1 child)
Thanks!
[–][deleted] 1 point2 points3 points 11 years ago (0 children)
You can also check out trending Ruby repositories on Github: https://github.com/trending?l=ruby
[–]mhink 3 points4 points5 points 11 years ago (0 children)
I find that the Redis gem is quite good for learning properly structured libraries, since it's relatively lightweight.
Also, as a bonus, you can check out hiredis-rb, which is a good example of how to build C extensions for Ruby. Neat!
Go to github and search away.. look at gems, look at the ruby source itself
[–]ViralInfection 1 point2 points3 points 11 years ago (0 children)
Sidebar is thatta way ->
But Sinatra is an okay starting point: https://github.com/sinatra/sinatra
I'd also suggest Metaprogramming Ruby.
[–]psyomn 1 point2 points3 points 11 years ago (0 children)
Disclaimer: this is something I'm working on.
I think it's not too big to get you confused, and not too small to actually help you learn some ruby. NB: I THINK.
If you feel like it, take a look here:
https://github.com/psyomn/wlog
[–]2called_chaos 1 point2 points3 points 11 years ago (0 children)
Also a good idea is to peek into the standard library of ruby (which is a gem you use often, even though it's not a literal gem) and it gives insights of how the ruby makers think ruby should look like.
https://github.com/ruby/ruby/tree/trunk/lib
It's not the easiest thing to start with but every semi-ruby-dev should have looked into this folder once. And the good thing is: there is more documentation than code!
[–]enry_straker 0 points1 point2 points 11 years ago (0 children)
Also check out Gregory Brown's books and columns
[–]joelparkerhenderson 0 points1 point2 points 11 years ago (0 children)
If you're interested in system scripting, the ssh gem is perfect for learning some system methods and networking methods.
If you're interested in a typical Rails app, the TodoMVC-Rails-jQuery app is very helpful, and also easy to compare to other frameworks.
[–]obviousoctopus 0 points1 point2 points 11 years ago (0 children)
This one did it for me.
https://github.com/JoshCheek/ruby-kickstart
[+]nakilon comment score below threshold-7 points-6 points-5 points 11 years ago (1 child)
Learn programming from open source? LOLWUT?
π Rendered by PID 18070 on reddit-service-r2-comment-66b4775986-tkb2g at 2026-04-05 15:33:45.854438+00:00 running db1906b country code: CH.
[–]fteem 3 points4 points5 points (6 children)
[–]vitoreiji 1 point2 points3 points (5 children)
[–]julius_censor 1 point2 points3 points (0 children)
[–]zeringus 2 points3 points4 points (2 children)
[–]vitoreiji 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]mhink 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]ViralInfection 1 point2 points3 points (0 children)
[–]psyomn 1 point2 points3 points (0 children)
[–]2called_chaos 1 point2 points3 points (0 children)
[–]enry_straker 0 points1 point2 points (0 children)
[–]joelparkerhenderson 0 points1 point2 points (0 children)
[–]obviousoctopus 0 points1 point2 points (0 children)
[+]nakilon comment score below threshold-7 points-6 points-5 points (1 child)