# Path: rock/constants.py
# MOUNT_PATH = os.environ.get('ROCK_MOUNT_PATH', '/')
# RUNTIMES = ['node', 'perl', 'php', 'python', 'ruby']
# SHELL = (os.environ.get('ROCK_SHELL') or '/bin/bash -c').split()
# 
# Path: rock/exceptions.py
# class ConfigError(Error):
#     pass


import os
    from io import StringIO
    from StringIO import StringIO
from rock import constants
from rock.exceptions import ConfigError
from __future__ import unicode_literals

try:
except ImportError:  # pragma: no cover


def isexecutable(path):
    return os.path.isfile(path) and os.access(path, os.X_OK)


try:
    basestring

    def isstr(s):
        return isinstance(s, basestring)

# Path: rock/constants.py
# MOUNT_PATH = os.environ.get('ROCK_MOUNT_PATH', '/')
# RUNTIMES = ['node', 'perl', 'php', 'python', 'ruby']
# SHELL = (os.environ.get('ROCK_SHELL') or '/bin/bash -c').split()
# 
# Path: rock/exceptions.py
# class ConfigError(Error):
#     pass


# Path: rock/utils.py
import os
    from io import StringIO
    from StringIO import StringIO
from rock import constants
from rock.exceptions import ConfigError

from __future__ import unicode_literals

try:
except ImportError:  # pragma: no cover


def isexecutable(path):
    return os.path.isfile(path) and os.access(path, os.X_OK)


try:
    basestring

    def isstr(s):
        return isinstance(s, basestring)

except NameError:  # pragma: no cover