Skip to content
Create a gist now

Instantly share code, notes, and snippets.

@nate /rbxrc.rb
Created Jun 18, 2010

## ~/.rbxrc
# Put this in your ~/.rbxrc and ignore *.rbc in your version control and editor
module Rubinius
class Compiler
def self.compiled_name(file)
if file.suffix? ".rb"
File.dirname(file) + '/.' + File.basename(file) + "c"
else
File.dirname(file) + '/.' + File.basename(file) + ".compiled.rbc"
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.