Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to add the "../lib" in $LOAD_PATH, console_remote.rb #2

Open
yamatakau08 opened this issue Dec 16, 2017 · 0 comments
Open

Need to add the "../lib" in $LOAD_PATH, console_remote.rb #2

yamatakau08 opened this issue Dec 16, 2017 · 0 comments

Comments

@yamatakau08
Copy link

I download the rbcast.
I executed the console_remot.rb in example directory.

But I faced the following the error message.

$ ruby console_remote.rb
/Users/yama/.rbenv/versions/2.4.3/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- rbcast (LoadError) from /Users/yama/.rbenv/versions/2.4.3/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require'
from console_remote.rb:29:in `

'

so I added the following code top in console_remote.rb

$LOAD_PATH.push("../lib")

require "dnssd"
require "rbcast"

@yamatakau08 yamatakau08 changed the title Need to add the "../lib" in $LOAD_PATH Need to add the "../lib" in $LOAD_PATH, console_remote.rb Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant