lib/ladder_drive.rb in ladder_drive-0.6.4 vs lib/ladder_drive.rb in ladder_drive-0.6.5
- old
+ new
@@ -22,7 +22,10 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
dir = File.expand_path(File.dirname(__FILE__))
$:.unshift dir unless $:.include? dir
+require 'dotenv'
+Dotenv.load
+
require "plc/plc"
require "ladder_drive/ladder_drive"