Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to work on Crystal 0.25 #1

Closed
rishavs opened this issue Jun 17, 2018 · 3 comments
Closed

update to work on Crystal 0.25 #1

rishavs opened this issue Jun 17, 2018 · 3 comments
Labels

Comments

@rishavs
Copy link

rishavs commented Jun 17, 2018

Currently using sentry is throwing exceptions;

Error in src/kemapi.cr:40: instantiating 'Sentry:Module#run(Sentry::ProcessRunner)'

    Sentry.run(opts) do
           ^~~

in lib/sentry-run/src/sentry-run.cr:18: instantiating 'Sentry::ProcessRunner#run()'

      process.run
              ^~~

in lib/sentry/src/sentry.cr:95: instantiating 'loop()'

      loop do
      ^~~~

in lib/sentry/src/sentry.cr:95: instantiating 'loop()'

      loop do
      ^~~~

in lib/sentry/src/sentry.cr:100: instantiating 'scan_files()'

        scan_files
        ^~~~~~~~~~

in lib/sentry/src/sentry.cr:77: instantiating 'get_timestamp(String)'

        timestamp = get_timestamp(file)
                    ^~~~~~~~~~~~~

in lib/sentry/src/sentry.cr:53: undefined method 'stat' for File:Class

      File.stat(file).mtime.to_s("%Y%m%d%H%M%S")
           ^~~~
@faustinoaq faustinoaq added the bug label Jun 17, 2018
@faustinoaq
Copy link
Owner

Depends on samueleaton/sentry#27

As workaround try:

development_dependencies:
  sentry-run:
    github: faustinoaq/sentry-run
    branch: "crystal_0.25"

@faustinoaq
Copy link
Owner

faustinoaq commented Jun 21, 2018

samueleaton/sentry#27 is fixed 🎉

However, sentry-run still depends on samueleaton/sentry#29

@faustinoaq
Copy link
Owner

Hi @rishavs I just released sentry-run 0.3.0, see: https://github.com/faustinoaq/sentry-run/releases/tag/v0.3.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants