require command does not work in gem for ruby

1

I installed Ruby , RailsInstaller and RubyDevKit on the C partition (eg c: \ Ruby23-x64).

Execution in cmd

  

ruby -v

Theversionofrubyinstalledwithnoproblemsappears.Execute

  

geminstallpipedrive-ruby

andalsoinstallswithoutproblems,butwhenIrun

  

require'pipedrive-ruby'

'require'errorisnotrecognizedasinternalorexternalcommand...WhenIrun

  

gemlist

pipedrive-rubyappearsasagemlocationnormally.

WhatamIdoingwrong?

I'mtryingtorunthegemof pipedrive .

    
asked by anonymous 13.05.2016 / 05:56

1 answer

0

In fact, any% of gem dependency in ruby should be declared at the beginning of the code, inside the .rb file

An example is:

require 'rubygems'
require 'bundler'
require 'date'

After this you can use the resources available in gem.

    
12.07.2016 / 05:02