[Nix-dev] "nix-env -i ruby" installs bundler, not ruby

Bjørn Forsman bjorn.forsman at gmail.com
Mon Mar 9 17:58:38 CET 2015


Hi all,

I'm on the stable 14.12 branch and decided to install ruby:

  $ ruby
  The program ‘ruby’ is currently not installed. You can install it by typing:
    nix-env -i ruby

But what I get from running "nix-env -i ruby" is not ruby, it's bundler!

Here is a the snippet that shows the issue:

  $ nix-env -qaP | grep ruby
  nixos.pkgs.ruby              ruby-1.9.3-p547
  nixos.pkgs.bundler          ruby-1.9.3-p547-bundler-1.7.9

Any rubyists that can fix the naming scheme so installation by name
works as expected?

- Bjørn


More information about the nix-dev mailing list