How a gem works (ruby programming)

50 %
50 %
Information about How a gem works (ruby programming)
Technology

Published on February 28, 2014

Author: codeland

Source: slideshare.net

How a Gem Works!

Who am I? Patrick Müller @patrickemuller Github: mpatrick 2 years > experience

www.codeland.com.br

What is a Gem?

What is each file and folder?

Gemfile Rakefile Lib folder .gem file .gemspec file spec folder fixtures folder

Gemspec

What can I have inside my Gem?

Models Views Controllers Extensions Scripts Tests

Can I test It?

YOU SHOULD DO IT!!!

Integration Tests...

Extensions MySQL jRuby Nokogiri PostgreSQL

May I use this only remotely?

But how can I publish it?

Private Gems

Help Kit https://github.com/radar/guides/blob/ master/gem-development.md ! ! ! http://rubylearning.com/blog/2010/12/14/ ruby-gems-—-what-why-and-how/

Thank You!

Add a comment

Related presentations

Related pages

Ruby (programming language) - Wikipedia, the free encyclopedia

... but nevertheless the phrase has come to be closely associated with the Ruby programming ... Ruby was known to work ... There are over 70,000 Ruby gems ...
Read more

RubyGems - Wikipedia, the free encyclopedia

RubyGems is a package manager for the Ruby programming language that provides a standard format for ... Ruby code may also build Gems directly. Such a ...
Read more

Ruby for Newbies: Working with Gems - Envato Tuts+ Code ...

... Gems. | Tags: Ruby, Web Development, ... Ruby for Newbies: Working with ... I've been playing around with over a dozen programming languages on ...
Read more

Ruby Programming/RubyGems - Wikibooks, open books for an ...

Ruby Programming/RubyGems. From Wikibooks, ... (Gem.default_dir, "gems", gem_name, "ruby", "lib") with_ruby = File.join(Config::CONFIG["bindir"], ...
Read more

What is a gem? - RubyGems Guides

RubyGems Basics What is a gem? ... Rake’s platform is ruby, which means it works on any ... The platform indicates the gem only works with a ruby built ...
Read more

Ruby (Programmiersprache) – Wikipedia

RubyGems (kurz: gems) ist das offizielle Paketsystem für Ruby. ... Dave Thomas: Programming Ruby. O’Reilly, Neuauflage 2013, ISBN 1-937785-49-1 (englisch)
Read more

Libraries - Ruby Programming Language

As most programming languages, Ruby leverages a wide set ... , providing Ruby libs as gems. ... RubyForge used to be a popular home for Ruby libraries, ...
Read more

Getting Started with Ruby - SitePoint – Learn HTML, CSS ...

Getting Started with RubyGetting Started with RubyGetting Started with Ruby ... to the wonderful Ruby programming ... a Ruby gem that makes it easy ...
Read more

It's raining gems! - How to build your own Ruby gem

If you’ve had a bit of experience in the Ruby programming language, you know the importance of gems in your work. Like the plugins that came before them ...
Read more

How do Ruby Gems work? - Honeybadger Developer Blog

Home; Ruby; How do Ruby Gems work? Feb 4, 2014 by Starr Horne. One of the things that makes working with Rails so nice is that for any common programming ...
Read more