laser icon indicating copy to clipboard operation
laser copied to clipboard

Static analysis and style linter for Ruby code.

Results 15 laser issues
Sort by recently updated
recently updated
newest added

Running the following command on Windows with RubyInstaller installed Ruby ``` gem install --verbose --force pkg\laser-0.5.2.gem ``` gave me ``` Building native extensions. This could take a while... ERROR: Error...

How is include supposed to work? ``` $ laser -Ilib lib/barcode_list.rb Error: option '-l' needs a parameter. Try --help for help. $ laser --includelib lib/barcode_list.rb Error: unknown argument '--includelib'. Try...

If I run this on, for instance, a model file in a Rails 3.0 project on 1.9.2 I get a stacktrace. Is this expected behavior?

Hi, I'm on Mac OSX Lion, using Ruby 1.9.2 (tried on p180 and p290) When I try to do anything (ie `laser -h`) I wind up with a stack trace....

laser is failing for me when my files require standard libraries, such as ostruct and pathname. It appears to assume that these libraries are part of my application. The error...