rubychan / coderay

Fast and easy syntax highlighting for selected languages, written in Ruby.
http://coderay.rubychan.de/
Other
846 stars 115 forks source link

Remove executable bit for the script files with shebang. #206

Closed junaruga closed 7 years ago

junaruga commented 7 years ago

Below scripts files have executable bits. But actually those are executed by ruby foo/bar.rb for example from Rakefile

I think If we want to run like this way, it is preferred not to have executable bits. However if we want to execute like this way ./foo/bar.rb, we need to add shebang (#!/usr/bin/env ruby) [1]

lib/coderay/token_kinds.rb
test/functional/basic.rb
test/functional/examples.rb
test/functional/suite.rb

Could you merge it? Thank you.

[1] https://en.wikipedia.org/wiki/Shebang_(Unix)

korny commented 7 years ago

You're right.

junaruga commented 7 years ago

Thank you for your merging.

But sorry I made a mistake for the title and comment.

"Remove executable bit for the script files with shebang." -> "Remove executable bit for the script files without shebang."