Giter Site home page Giter Site logo

Comments (11)

ekalinin avatar ekalinin commented on July 24, 2024

@lowks Please, try again.
Here's my try:

➥ nv version
nv 0.8.2
➥ nv mk --rust-prebuilt=0.12.0
Creating environment: rust-prebuilt-0.12.0 ...
 * installing rust-prebuilt==0.12.0 ...
 * done (in 5 secs.)
➥ nv on rust-prebuilt-0.12.0 
Environment rust-prebuilt-0.12.0 activated.
(rust-prebuilt-0.12.0) ➥ rustc --version
rustc 0.12.0 (ba4081a5a 2014-10-07 13:44:41 -0700)

from envirius.

lowks avatar lowks commented on July 24, 2024

I am confused. rust-prebuilt is equivalent to rust release version what ?

from envirius.

ekalinin avatar ekalinin commented on July 24, 2024

@lowks it should work now.
Fixed in bb149fe

➥ nv version 
nv 0.8.3

➥ nv ls-versions --rust-prebuilt 
* rust-prebuilt:
1.0.0       1.1.0       1.2.0       1.3.0       1.4.0       
1.5.0       1.6.0       1.7.0       1.8.0       1.9.0       
1.10.0      1.11.0      1.12.0      1.12.1      nightly-2016-10-30

➥ nv mk --rust-prebuilt=1.12.1
Creating environment: rust-prebuilt-1.12.1 ...
 * installing rust-prebuilt==1.12.1 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 45.4M  100 45.4M    0     0  1943k      0  0:00:23  0:00:23 --:--:-- 2705k
 * done (in 25 secs.)

➥ nv on rust-prebuilt-1.12.1 
Environment rust-prebuilt-1.12.1 activated.

(rust-prebuilt-1.12.1) ➥ rustc --version
rustc 1.12.1 (d4f39402a 2016-10-19)

from envirius.

ekalinin avatar ekalinin commented on July 24, 2024

rust-prebuilt is equivalent to rust release version what ?

Please, read this section of the README:

from envirius.

lowks avatar lowks commented on July 24, 2024

Thanks I will upgrade the version today and report back.

from envirius.

lowks avatar lowks commented on July 24, 2024

I am getting something like this:

~/S/envirius_latest ❯❯❯ nv version                                       master
nv 0.8.3
~/S/envirius_latest ❯❯❯ nv ls-versions --rust-prebuilt                   master
* rust-prebuilt:
1.0.0       1.1.0       1.2.0       1.3.0       1.4.0       
1.5.0       1.6.0       1.7.0       1.8.0       1.9.0       
1.10.0      1.11.0      1.12.0      1.12.1      nightly-2016-10-31

~/S/envirius_latest ❯❯❯ nv mk rust_release --rust-prebuilt=1.12.1        master
Creating environment: rust_release ...
 * installing rust-prebuilt==1.12.1 ...
nv_cmd_default:190: no such file or directory: /home/lowks/.envirius/envs/rust_release/envirius.info
 * done (in 0 secs.)

from envirius.

ekalinin avatar ekalinin commented on July 24, 2024

Seems like, it's a cache. Please, try 1.12.0 version.
Here's my try:

echo $ZSH_VERSION
5.1.1

➥ nv mk --rust-prebuilt=1.12.0
Creating environment: rust-prebuilt-1.12.0 ...
 * installing rust-prebuilt==1.12.0 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 45.3M  100 45.3M    0     0  1992k      0  0:00:23  0:00:23 --:--:-- 2503k
 * done (in 24 secs.)

➥ nv on rust-prebuilt-1.12.0
Environment rust-prebuilt-1.12.0 activated.

(rust-prebuilt-1.12.0) ➥ rustc --version
rustc 1.12.0 (3191fbae9 2016-09-23)

from envirius.

lowks avatar lowks commented on July 24, 2024

I am getting the same error (I am also having zsh 5.1.1):

~/S/envirius_latest ❯❯❯ nv mk --rust-prebuilt=1.12.0                                                                             master
Creating environment: rust-prebuilt-1.12.0 ...
 * installing rust-prebuilt==1.12.0 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 45.3M  100 45.3M    0     0  1617k      0  0:00:28  0:00:28 --:--:--  911k
nv_cmd_default:190: no such file or directory: /home/lowks/.envirius/envs/rust-prebuilt-1.12.0/envirius.info
 * done (in 29 secs.)

from envirius.

lowks avatar lowks commented on July 24, 2024

Hmm strange on Mac it seems okay:

➜  ~ nv version
nv 0.8.3
➜  ~ nv ls-versions --rust-prebuilt
* rust-prebuilt:
1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.7.0 1.8.0 1.9.0 1.10.0 1.11.0 1.12.0 1.12.1
nightly-2016-10-31
➜  ~ nv mk rust_env --rust-prebuilt=1.12.1
Creating environment: rust_env ...
 * installing rust-prebuilt==1.12.1 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 41.1M  100 41.1M    0     0  1140k      0  0:00:36  0:00:36 --:--:-- 1113k
 * done (in 42 secs.)
➜  ~ nv on rust_env
complete:13: command not found: compdef
Environment rust_env activated.```

How do you do a complete clean re-install on envirius ?

from envirius.

ekalinin avatar ekalinin commented on July 24, 2024
# rm -rf ~/.envirius or
$ make uninstall

$ make install

from envirius.

lowks avatar lowks commented on July 24, 2024

Okay so it's something to do with my zsh. I tried it again, it failed using zsh then using bash, it's successful:

lowks@lowkster-laptop:~/Sources/envirius_latest$ nv mk rust_prebuilt --rust-prebuilt=1.12.1
Creating environment: rust_prebuilt ...
 * installing rust-prebuilt==1.12.1 ...
 * done (in 0 secs.)
lowks@lowkster-laptop:~/Sources/envirius_latest$ nv on rust_prebuilt --same-shell
Environment rust_prebuilt activated.
(rust_prebuilt)lowks@lowkster-laptop:~/Sources/envirius_latest$ rustc --version
rustc 1.12.1 (d4f39402a 2016-10-19)

from envirius.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.