Vibe.d & DUB

Jordi Sayol g.sayol at yahoo.es
Fri Nov 15 05:27:05 PST 2013


El 15/11/13 12:49, Chris ha escrit:
> On Thursday, 14 November 2013 at 17:32:14 UTC, Jordi Sayol wrote:
>> El 14/11/13 17:48, Chris ha escrit:
>>> On Thursday, 14 November 2013 at 16:42:05 UTC, Chris wrote:
>>>> On Thursday, 14 November 2013 at 16:32:59 UTC, Sönke Ludwig wrote:
>>>>> Am 14.11.2013 16:54, schrieb Chris:
>>>>>> Excuse me my ignorance. I haven't used DUB for a while now. Don't know
>>>>>> what's wrong. Found no hint on the (h)internet. I it that the latest
>>>>>> version of dmd is "too high" for dub? Use dmd2.063 instead?
>>>>>>
>>>>>> $ dub upgrade
>>>>>> Upgrading project in /home/path/to/project
>>>>>> Triggering update of package vibe-d
>>>>>> Geting package metadata for vibe-d failed, exception:
>>>>>> object.Exception at source/dub/project.d(460): Could not find package
>>>>>> candidate for vibe-d >=0.7.12
>>>>>> (...)
>>>>>
>>>>> Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1".
>>>>>
>>>>> I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
>>>>
>>>> Thanks for the answer. I tried to update dub, but it says that "dub is already the newest version.", which is hard for me to believe.
>>>
>>> Ubuntu 12.04 LTS
>>>
>>
>> What says last line of
>>
>> $ dub help
> 
> dub's last words were:
> 
> Install options:
>         --version        Use the specified version/branch instead of the latest
>         --system         Install system wide instead of user local
>         --local          Install as in a sub folder of the current directory
> 
> And that's it. I couldn't find a simple "version" switch that just tells me dub version 0.XYZ
> 

You can set "d-apt" <http://d-apt.sourceforge.net/> on your Ubuntu 12.04 LTS. This will allow you to easily install the last dub release:

$ sudo apt-get install dub

-- 
Jordi Sayol




More information about the Digitalmars-d mailing list