ruby require not working
问题 I'm new to ruby, but I'm working on my first ruby program. It currently has two files, one is a library of functions ( xgync.rb stored in lib ) the other is the executable xgync stored in 'bin'. (Project visible here https://bitbucket.org/jeffreycwitt/xgync/src) I've also created a symlink to my /usr/local/bin/xgync so that I can write the command xgync {arguments} from anywhere in the terminal. The problem seems to be that bin/xgync depends on the library lib/xgync.rb . I've written this