.rb Ruby-Skript
Text & Quellcode
| MIME-Typ | application/x-ruby |
|---|---|
| Beschreibung | Ruby-Skript |
| Kategorie | Text & Quellcode |
| Basiert auf | application/x-executable, text/plain |
Häufige Fragen
Was ist eine .rb-Datei?
Eine .rb-Datei ist ein Format vom Typ „Ruby-Skript“ (MIME-Typ application/x-ruby).
Womit öffne ich eine .rb-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .rb-Datei?
Für dieses Format ist keine feste Signatur am Dateianfang hinterlegt; erkannt wird es vor allem an der Endung. Unter Linux und macOS zeigt file --mime-type example.rb den vermuteten Typ.
Auf welchem Format basiert .rb?
Technisch ist eine .rb-Datei ein Untertyp von „Ausführbare Datei“ (application/x-executable). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .rb?
Der MIME-Typ ist application/x-ruby. Im Apache-Webserver: AddType application/x-ruby .rb; in nginx: types { application/x-ruby rb; }.