See here.
Use at the head of your scripts,
require("rb_gsl")
include GSL
or
require("gsl")
All the classes, modules, functions and constants of Ruby/GSL
are defined under the top-level module GSL, or its submodules.
gsl_xxx or GSL_XXX. In Ruby/GSL, the prefix gsl_ is replaced by the module identifier, GSL::. For example,
gsl_vector ---> Class GSL::VectorGSL_SUCCESS ---> Constant GSL::SUCCESSgsl_sf_bessel_J0 --->
GSL::SfGSL::Sf::bessel_J0gsl_linalg_LU_decomp --->
GSL::Linalg::LUGSL::Linalg::LU.decompSee sample codes in the "samples/" directory.