Skip to content

Testing from Ruby Console

Razenghan edited this page Apr 9, 2013 · 1 revision

From the root directory of the gem, perform the following:

See all the rake commands you can perform on this gem, including 'install'

$ rake -T

Install the cb-api gem LOCALLY (will install to pkg/ subdirectory)

$ rake install

Confirm the gem was successfully installed

$ bundle show cb-api

Finally, start the Ruby Shell (IRB) with the module loaded

$ irb -r ./startup.rb
> Cb.job
 => Cb::JobApi ## successful output
Clone this wiki locally