You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ till
/usr/lib/ruby/gems/1.9.1/gems/till-2.1/bin/till:3:in `load': no such file to load -- till/cli (LoadError)
from /usr/lib/ruby/gems/1.9.1/gems/till-2.1/bin/till:3:in `<top (required)>'
from /usr/bin/till:19:in `load'
from /usr/bin/till:19:in `<main>'
$ strace -eopen till 2>&1 1>/dev/null | grep cli
open("/usr/lib/ruby/gems/1.9.1/gems/tilt-1.1/bin/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/gems/1.9.1/gems/tilt-1.1/lib/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/gems/1.9.1/gems/facets-2.9.0/bin/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/gems/1.9.1/gems/facets-2.9.0/lib/core/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/gems/1.9.1/gems/facets-2.9.0/lib/more/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/gems/1.9.1/gems/facets-2.9.0/lib/tour/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/gems/1.9.1/gems/till-2.1/bin/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOTDIR (Not a directory)
open("/usr/lib/ruby/gems/1.9.1/gems/till-2.1/lib/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/site_ruby/1.9.1/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/site_ruby/1.9.1/i686-linux/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/site_ruby/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/vendor_ruby/1.9.1/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/vendor_ruby/1.9.1/i686-linux/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/vendor_ruby/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/1.9.1/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/ruby/1.9.1/i686-linux/till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("till/cli", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
/usr/lib/ruby/gems/1.9.1/gems/till-2.1/bin/till:3:in `load': no such file to load -- till/cli (LoadError)
So apparently the problem is that load takes its argument verbatim, while you'd need an extra .rb extension a'la require. Note I got the same error with ruby 1.8.7 + rubygems 1.8.7, too.
The text was updated successfully, but these errors were encountered:
Installed till 2.1 gem:
Then ran till, got:
Doing a bit research:
What happens behind the scenes:
So apparently the problem is that load takes its argument verbatim, while you'd need an extra
.rb
extension a'la require. Note I got the same error with ruby 1.8.7 + rubygems 1.8.7, too.The text was updated successfully, but these errors were encountered: