Re: denv - D version of rbenv

2012-05-04 Thread simendsjo
On Fri, 04 May 2012 17:54:11 +0200, Masahiro Nakagawa  
repeate...@gmail.com wrote:



I use rbenv to manage multiple versions of Ruby.
So, I ported rbenv to D.

https://github.com/repeatedly/denv

I tested dmd on Linux and Mac.
(Sorry, I am not GDC and LDC user)

I will port ruby-build If necessary.


Regards,
Masahiro


Sounds very similar to, but more complete than, dvm:  
https://github.com/jacob-carlborg/dvm


Re: denv - D version of rbenv

2012-05-04 Thread Jacob Carlborg

On 2012-05-04 19:54, simendsjo wrote:

On Fri, 04 May 2012 17:54:11 +0200, Masahiro Nakagawa
repeate...@gmail.com wrote:


I use rbenv to manage multiple versions of Ruby.
So, I ported rbenv to D.

https://github.com/repeatedly/denv

I tested dmd on Linux and Mac.
(Sorry, I am not GDC and LDC user)

I will port ruby-build If necessary.


Regards,
Masahiro


Sounds very similar to, but more complete than, dvm:
https://github.com/jacob-carlborg/dvm


Seems a lot more complicated as well. A big part of DVM is to easily 
install a compiler, which is done manually with denv.


Oh, my. Everything is written in shell script. DVM works on Windows as 
well, thanks to Nick :)


--
/Jacob Carlborg


Re: denv - D version of rbenv

2012-05-04 Thread Masahiro Nakagawa

On Friday, 4 May 2012 at 17:54:35 UTC, simendsjo wrote:
On Fri, 04 May 2012 17:54:11 +0200, Masahiro Nakagawa 
repeate...@gmail.com wrote:



I use rbenv to manage multiple versions of Ruby.
So, I ported rbenv to D.

https://github.com/repeatedly/denv

I tested dmd on Linux and Mac.
(Sorry, I am not GDC and LDC user)

I will port ruby-build If necessary.


Regards,
Masahiro


Sounds very similar to, but more complete than, dvm: 
https://github.com/jacob-carlborg/dvm


Yes. But I don't know the detail of dvm implementation.
rbenv is a small and compact version manager than rvm.
(If you want to know more comparison of rbenv and rvm,
See https://github.com/sstephenson/rbenv )

I like rbenv, so I ported.


Re: denv - D version of rbenv

2012-05-04 Thread Masahiro Nakagawa

On Friday, 4 May 2012 at 19:09:01 UTC, Jacob Carlborg wrote:

On 2012-05-04 19:54, simendsjo wrote:

On Fri, 04 May 2012 17:54:11 +0200, Masahiro Nakagawa
repeate...@gmail.com wrote:


I use rbenv to manage multiple versions of Ruby.
So, I ported rbenv to D.

https://github.com/repeatedly/denv

I tested dmd on Linux and Mac.
(Sorry, I am not GDC and LDC user)

I will port ruby-build If necessary.


Regards,
Masahiro


Sounds very similar to, but more complete than, dvm:
https://github.com/jacob-carlborg/dvm


Seems a lot more complicated as well. A big part of DVM is to 
easily install a compiler, which is done manually with denv.


I will port ruby-install to D if needed.

Oh, my. Everything is written in shell script. DVM works on 
Windows as well, thanks to Nick :)


Yeah. denv does not directly support Windows same as other xxenv.


Re: denv - D version of rbenv

2012-05-04 Thread Nick Sabalausky
Masahiro Nakagawa repeate...@gmail.com wrote in message 
news:niagensidmjugqbxr...@forum.dlang.org...
 On Friday, 4 May 2012 at 17:54:35 UTC, simendsjo wrote:
 On Fri, 04 May 2012 17:54:11 +0200, Masahiro Nakagawa 
 repeate...@gmail.com wrote:

 I use rbenv to manage multiple versions of Ruby.
 So, I ported rbenv to D.

 https://github.com/repeatedly/denv

 I tested dmd on Linux and Mac.
 (Sorry, I am not GDC and LDC user)

 I will port ruby-build If necessary.


 Regards,
 Masahiro

 Sounds very similar to, but more complete than, dvm: 
 https://github.com/jacob-carlborg/dvm

 Yes. But I don't know the detail of dvm implementation.
 rbenv is a small and compact version manager than rvm.
 (If you want to know more comparison of rbenv and rvm,
 See https://github.com/sstephenson/rbenv )

 I like rbenv, so I ported.

No harm having both. I'm sure denv will be great for people coming from 
Ruby.




Re: denv - D version of rbenv

2012-05-04 Thread Jacob Carlborg

On 2012-05-04 21:38, Masahiro Nakagawa wrote:


Yes. But I don't know the detail of dvm implementation.
rbenv is a small and compact version manager than rvm.
(If you want to know more comparison of rbenv and rvm,
See https://github.com/sstephenson/rbenv )


DVM can't even do half of the things RVM can. DVM can basically only 
install compilers and switch between installed compilers. It can build 
DMD as well, always forgets that.



I like rbenv, so I ported.


Fair enough. That's why I ported RVM :)

--
/Jacob Carlborg