Package: webgen
Version: 0.3.8-1

webgen doesn't work on my environment as follows.

% webgen
/usr/bin/webgen:3:in `require': no such file to load -- webgen (LoadError)
        from /usr/bin/webgen:3
zsh: exit 1     webgen

It is because webgen searches ruby in PATH by "#!/usr/bin/env ruby" and
I have ~/bin/ruby for my development.

% ruby -v
ruby 1.9.0 (2006-08-10) [i686-linux]
% /usr/bin/ruby -v
ruby 1.8.4 (2005-12-24) [i486-linux]
% which -a ruby
/home/akr/bin/ruby
/usr/bin/ruby
nute(12:33:01)% head -1 /usr/bin/webgen
#!/usr/bin/env ruby

webgen works well if it is interpreted by /usr/bin/ruby

% /usr/bin/ruby /usr/bin/webgen -v
0.3.8

Since webgen works only if it is interpreted by the
interpreter which have webgen library, I think
#!/usr/bin/env hack is not appropriate in this case.

% dpkg -l|grep webgen
ii  webgen                           0.3.8-1                     A template 
based static website generator
-- 
Tanaka Akira


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to