-
Notifications
You must be signed in to change notification settings - Fork 9
Working with Crystal Version Manager? #3
Comments
I'll look into integrating crenv directly |
@faustinoaq Thought's on crenv and scry? |
I used to work with cenv but it uses LLVM 3.5, Would be good a crenv without too old versions of LLVM and crystal. I mean crenv can install crystal
I think you should use
I think we can let to user specify the path for executable. If executable is in global path, then the extension should detect it and use it by default. By example: # by default tries to detect if a executable is available.
crystal.compiler = 'crystal'
crystal.server = 'scry' # If user doesn't have a executable in global path then need to specify path.
# I think this is good because user can specify versions per workspace
crystal.compiler = '/home/username/.crenv/versions/0.19.0/bin'
crystal.server = '/home/main/Projects/scry/scry' Some of this configuration was an idea by @kofno inside Scry https://github.com/kofno/scry/blob/master/src/scry/protocol/settings.cr#L18 |
crenv binaries works as a normal executable, the problem is that
I think would be easier if user do |
Hey Kepler, Do you think we can change the organization name from
atom-crystal to crystal-editor or maybe CrystalEditorSupport like
JuliaEditorSupport https://github.com/JuliaEditorSupport. So we can add
repositories for sublime, emacs, vim, vscode, atom, etc. All in one place
well documented easier to follow and maintain. :-)
…On Wed, Aug 9, 2017 at 9:29 PM, Kepler Sticka-Jones < ***@***.***> wrote:
@faustinoaq <https://github.com/faustinoaq> Thought's on crenv and scry?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC7NxyZAGwOvsvRrvmAAp4Yhzhm8hJ3iks5sWmsYgaJpZM4J5MQL>
.
|
@faustinoaq I like this idea. Let's discuss it in the scry gitter. |
@faustinoaq Where does this fall in relation to scry? |
I don't think this issue is related to scry, but thanks to it we released Crystal Lang Tools organization 🎉 I think if you want to use a specific crystal version then you should set you desired version as global, I remember crenv has an option for that. |
Closing. Sounds like scry should support this out of the box, and this package is just a wrapper around scry now. Please, reopen if this isn't true. |
Hi there,
I'm using crystal 0.19.0 with crenv. So I provided atom-crystal with /home/username/.crenv/versions/0.19.0/bin for the compiler executable directory. This doesn't seem to be working though. I am getting the following error:
'crystal' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.
Any help on this would be appreciated.
The text was updated successfully, but these errors were encountered: