Skip to content

Instantly share code, notes, and snippets.

@lbvf50mobile
Last active February 17, 2017 06:52
Show Gist options
  • Save lbvf50mobile/a28cc4e28eb75fe94dc9d8648735593b to your computer and use it in GitHub Desktop.
Save lbvf50mobile/a28cc4e28eb75fe94dc9d8648735593b to your computer and use it in GitHub Desktop.
using require
$LOAD_PATH.unshift(File.dirname(__FILE__))
require "two"
require "two"
puts "It works."
puts "this is two rb"
@lbvf50mobile
Copy link
Author

this works: bundler exec ruby 1.rb
this works too: 1.rb

@lbvf50mobile
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment