this is my first time making rubygem, in my gem i need to use fb_graph gem, my question are:
- How to i use fb_graph inside my gem, could you explain it ?
- Is s.add_dependency "fb_graph" will automatically load fb_graph gem ? and its ok to puts require ‘rubygems’ and require ‘fb_graph’ inside my_gem/lib/my_gem.rb ? where my_gem.rb is ruby module.
Ok, thank you in advance and sorry for my poor english
As you suggest
Should be enough, yes. It’s certainly ok to
require "rubygems"andrequire "fb_graph". This is the intended approach.