RubyDrop icon indicating copy to clipboard operation
RubyDrop copied to clipboard

Understanding remote_user and remote_addr

Open samueleastdev opened this issue 13 years ago • 0 comments

i have updated ruby to the latest and i have installed grit so here is where i am at so far.

downloaded

sudo gem install grit -s http://gemcutter.org

Then

http://logging.rubyforge.org/

Then run

./RubyDrop &

This then starts and if i try to run again i get below.

/Users/users/Documents/Titanium_Studio_Workspace/RubyDrop/lib/tcp_listen.rb:14:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
        from /Users/samueleast/Documents/Titanium_Studio_Workspace/RubyDrop/lib/tcp_listen.rb:14:in `open'
        from /Users/samueleast/Documents/Titanium_Studio_Workspace/RubyDrop/lib/tcp_listen.rb:14:in `initialize'
        from /Users/samueleast/Documents/Titanium_Studio_Workspace/RubyDrop/lib/rubydrop.rb:24:in `new'
        from /Users/samueleast/Documents/Titanium_Studio_Workspace/RubyDrop/lib/rubydrop.rb:24:in `initialize'
        from ./RubyDrop:11:in `new'
        from ./RubyDrop:11:in `<main>'

[3]+  Exit 1                  ./RubyDrop

Ok i have edited the config.yml file and set my tcp settings as below.


# For security reasons, this should be a private IP
tcp_listen_ip: 127.0.0.1

# The port that the TCP server should listen on
tcp_listen_port: 1234

I can see its created the RubyDrop folder in my system i can drag files to this i dont understand below.

# The remote user
remote_user: my_user

# The remote address (can be IP or hostname)
remote_addr: myserver.com

is the remote user my git username and address my git repo?

Would really like to get this working but dont now where to go from here any chance of a quick video screencast explain this.

Thanks

samueleastdev avatar Aug 21 '12 09:08 samueleastdev