<shevy>
is it possible to, in a gem, have: bin/foo.rb and also a bin/foo -> symlink that points to foo.rb? If a user would install that (on linux), would that work?
<mpapis>
shevy, I think it should work, why would you do that? ... and it is possible the symlink would be resolved during packaging of gem, not sure on that one
<shevy>
so that I can continue to work with files with .rb ending
huoxito has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
bbrowning is now known as bbrowning_away
huoxito has joined #rubygems
huoxito has quit [Ping timeout: 250 seconds]
havenwood has joined #rubygems
<Rennex>
shevy: erm, you can require plain files without the .rb suffix
<Rennex>
shevy: oh wait, i'm blind, you meant a file in bin/
<Rennex>
though it sounds like you should just fix your editor situation... :)
<shevy>
there is no solution to the editor situation
<shevy>
but I think I can work around anyway
<shevy>
I use a script to do gem pushes, I can modify that one to turn bin/bla.rb into bin/bla before publishing
<shevy>
the Editor has only "Document Type -> Ruby" and no way to set a default
<shevy>
it treats all files without an . part as "text"
<Rennex>
well then, it deserves to get thrown away :)
<mpapis>
Rennex, ++
<Rennex>
even nano select suitable syntax highlighting based on the hashbang line ;)
<shevy>
Rennex why should I throw away an editor that works perfectly well otherwise?
<shevy>
and even more importantly, to which other editor?
<shevy>
nano is usable only for small edits
elia has quit [Quit: Computer has gone to sleep.]
<mpapis>
shevy, have you tried putting "#!/usr/bin/env ruby" in first line?
<shevy>
yeah, the editor ignores everything
<shevy>
it's old C and GTK, I am not going to patch it
nahtnam has left #rubygems ["undefined"]
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
dvu has quit [Remote host closed the connection]
<mpapis>
shevy, so what is it, I for example use Geany - awesome editor
<shevy>
bluefish 2.2.6 is basically a completely different editor now. it is significantly worse than both sublime and geany
<Rennex>
that i find easy to believe
<shevy>
the thing is, I use only about 20% of bluefish 1.x anyway
<Rennex>
1.0.7 is from late 2006
<shevy>
the default highlighting of geany for ruby is awful. you can change that, but the other part is that I am insanely lazy
<mpapis>
shevy, anyway openssl-1.0.1c - thats old, you should update, and try geany, it's small and fast, but still allows you to do much
<shevy>
I know geany
<shevy>
it's inferior to bluefish 1.0.7 - the only real improvement is to use an embedded vte
<shevy>
ah and folding, that is also an improvement
<shevy>
bluefish 2.x has folding as well but it really is a stinking editor now
<shevy>
mpapis I don't trust openssl updates much, I have had problems with it and ruby, though I am only using 2.1.3 since a few days. will update openssl eventually but in baby steps
<mpapis>
shevy, geany allows you to modify files map so you can say Rakefile is ruby, and it detects shebangs, so it's another point, what do you do not like about the colors for ruby highlighting?
<shevy>
the default is white background and awful red