     if !@usingLevels
       try
         if !@language
-          @language = @languageRegistry.readLanguageSync @configFilePath, @executablePath
+          configFilePath = CSON.resolve path.join @pkgLanguageDirPath, 'config'
+          executable = if process.platform == 'win32' then 'run.exe' else 'run'
+          executablePath = path.join @pkgLanguageDirPath, 'executables', process.platform, executable
+          dummyGrammarPath = CSON.resolve path.join @pkgLanguageDirPath, 'grammars', 'dummy'
+          @dummyGrammar = atom.grammars.readGrammarSync dummyGrammarPath
+          @language = @languageRegistry.readLanguageSync configFilePath, executablePath
           @dummyGrammar.name = @language.getGrammarName()
           @dummyGrammar.scopeName = @language.getScopeName()
           @dummyGrammar.fileTypes = @language.getLevelCodeFileTypes()

      default: ''

  setExecutionCommandPatterns: (directory) ->
    if rubyInterpreterDirectoryPath = directory.trim()
      rubyInterpreterPath = path.join rubyInterpreterDirectoryPath, 'ruby'
      @language.setExecutionCommandPatterns ["#{rubyInterpreterPath} <filePath>"]
    else
      @language.setExecutionCommandPatterns ['ruby <filePath>']
    return

  setUpConfigManagement: ->

    @pkgName = 'levels-language-ruby'
    pkgDirPath = atom.packages.resolvePackagePath @pkgName
    @pkgLanguageDirPath = path.join pkgDirPath, 'language'

    pkgSubscription = atom.packages.onDidActivatePackage (pkg) =>
      if pkg.name == @pkgName
