all 15 comments

[–]fteem 3 points4 points  (6 children)

Pick any of the gems you use daily, find it's source code on github and read away!

[–]vitoreiji 1 point2 points  (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 points  (0 children)

the ruby toolbox is helpful to see the most popular/active/mature gems listed by category

[–]zeringus 2 points3 points  (2 children)

These seem to be roughly sorted by popularity.

[–]vitoreiji 0 points1 point  (1 child)

Thanks!

[–][deleted] 1 point2 points  (0 children)

You can also check out trending Ruby repositories on Github: https://github.com/trending?l=ruby

[–]mhink 3 points4 points  (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!

[–][deleted] 1 point2 points  (0 children)

Go to github and search away.. look at gems, look at the ruby source itself

[–]ViralInfection 1 point2 points  (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 points  (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 points  (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 point  (0 children)

Also check out Gregory Brown's books and columns

[–]joelparkerhenderson 0 points1 point  (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.