3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

36 commits

Author SHA1 Message Date
zimbatm b8bcbec5fd ruby: fixes rubygems user installs
* Manage patches in git
* Fixes the hook invocation to be more safe. Thanks @Mic92
* Install gems as user by default
* Install gem binaries with the /usr/bin/env shebang
* Fixes a bug where the passthru.libPath and passthru.gemPath would
  point to the wrong directory
* Overhaul ruby version heuristics
2016-10-02 22:07:22 +01:00
Rahul Gopinath 3b9b8726bd ruby: 2.1.7 -> 2.1.10 2016-09-06 21:14:00 -07:00
Rahul Gopinath 7163bab78f ruby: 2.2.3 -> 2.2.5 2016-09-06 21:13:59 -07:00
Tuomas Tynkkynen ba6d94e6a5 ruby: dev -> devEnv
Otherwise conflicts with the convention of `dev` output.
2016-08-29 14:49:52 +03:00
Franz Pletz c22c137c6c ruby_2_0: disable format hardening 2016-08-02 18:01:21 +02:00
Brad Ediger 6e353bb17f ruby: update 2.3 series to 2.3.1 2016-05-02 15:49:05 -05:00
zimbatm 19820e9a96 ruby: add a new .dev output to ruby derivations
The idea is to bundle ruby, bundler and bundix together. I was
having issues where bundler was installed with ruby 2.3.0 and I wanted to use
ruby 2.0.0.

With this change all the developer has to do is install `ruby_2_0_0.dev`
either in his environment or in a nix-shell.
2016-03-14 22:25:48 +00:00
zimbatm 86f1579266 ruby: install rubygems directly into the derivation
Having a separate rubygems package can lead to split-brain scenarios.

Since rubygems is designed to replace himself on a ruby installation,
let's do that.
2016-03-14 22:23:25 +00:00
zimbatm 7c4c151a94 ruby: only keep the latest tiny per major.minor
Tiny versions are just for bug-fixes and should be upgraded. I think that the
list has grown a bit too much organically and should be trimmed.
2016-03-04 14:24:37 +00:00
Michael Fellinger c24c153743 Add Ruby 2.3.0 package 2016-01-27 09:28:59 +01:00
aszlig 6945557dba
ruby: Fix SHA256 hashes of several versions.
According to @zimbatm, he got the SHA256 hashes via nix-prefetch-git.

However, fetchFromGitHub doesn't use Git to fetch the sources but uses
fetchzip under the hood, so we get plain source directories in the Nix
store, which in turn are hashed.

Tested by:

nix-build --no-out-link -E 'map (x:
    (builtins.getAttr x (import ./.  {})).src
) [ "ruby_1_9_3" "ruby_2_0_0" "ruby_2_1_0" "ruby_2_1_1" "ruby_2_1_2"
    "ruby_2_1_3" "ruby_2_1_6" "ruby_2_1_7" "ruby_2_2_0" "ruby_2_2_2"
    "ruby_2_2_3"
]'

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-08 02:56:29 +01:00
zimbatm 7c338ffb77 ruby_2_2: 2.2.2 -> 2.2.3 2015-12-07 15:37:33 +01:00
zimbatm d9f0568ccb ruby_2_1: 2.1.6 -> 2.1.7 2015-12-07 15:37:33 +01:00
zimbatm 9ebc399432 ruby_2_0: 2.0.0p645 -> 2.0.0p647 2015-12-07 15:37:33 +01:00
zimbatm ad2a4ab24c ruby: remove insecure 1.8.7, fixes #11194
1.8.x is unsupported and is probably insecure.

This also simplifies things a little bit
2015-11-25 12:10:03 +01:00
Allan Espinosa c20e79abb9 ruby: adjust the libPath 2015-10-17 22:28:22 +09:00
Jude Taylor 5379504451 Merge pull request #9834 from NixOS/rubies
Merge Ruby versions into one file
2015-10-01 08:58:28 -07:00
Eelco Dolstra 91e3d54b8f * Remove the ruby/default.nix, it's not very useful.
svn path=/nixpkgs/trunk/; revision=32572
2012-02-26 11:07:56 +00:00
Shea Levy 936c460abb Ruby: Separate 'install the current version of ruby' from 'install version x of ruby' when x is also the current version
svn path=/nixpkgs/trunk/; revision=29600
2011-10-03 15:35:50 +00:00
Shea Levy a54473bc5d Use ruby 1.9 as the default
svn path=/nixpkgs/trunk/; revision=29543
2011-09-29 21:55:12 +00:00
Yury G. Kudryashov 87915c8320 ruby-1.8.7-p330
Also add passthru.gemPath

svn path=/nixpkgs/trunk/; revision=25651
2011-01-21 08:24:39 +00:00
Ludovic Courtès 9b9b5e2f53 Work around hard-coded /usr/bin/nroff' in configure'.
svn path=/nixpkgs/trunk/; revision=25533
2011-01-13 10:03:16 +00:00
Yury G. Kudryashov 40a7243ed3 ruby: upgrade, optional docs
svn path=/nixpkgs/trunk/; revision=23681
2010-09-08 09:56:46 +00:00
Eelco Dolstra 0e6ea04477 * Update Ruby to 1.8.7-p299 to fix a build problem caused by the
upgrade to OpenSSL 1.0.0
  (http://hydra.nixos.org/build/494496/nixlog/1/raw).

svn path=/nixpkgs/branches/x-updates/; revision=22700
2010-07-22 09:49:48 +00:00
Eelco Dolstra 973b9cfde6 * Remove some incorrect uses of makeOverridable.
svn path=/nixpkgs/trunk/; revision=18483
2009-11-20 12:51:14 +00:00
Marc Weber 79038a2038 build ruby with gdbm support
svn path=/nixpkgs/trunk/; revision=16789
2009-08-20 20:19:01 +00:00
Marc Weber e7dc062579 adding xapian and xapian-bindings
svn path=/nixpkgs/trunk/; revision=16788
2009-08-20 20:18:58 +00:00
Marc Weber 8661c406f2 ruby / gems update
svn path=/nixpkgs/trunk/; revision=16099
2009-06-30 14:29:17 +00:00
Pjotr Prins 48d8e0779c Fixed Ruby download path, new version 1.8.7-p72
svn path=/nixpkgs/trunk/; revision=12618
2008-08-14 11:47:51 +00:00
Pjotr Prins bc6b7a3213 Updated Ruby package to support shared libs and pthreads
svn path=/nixpkgs/trunk/; revision=12466
2008-08-02 22:25:54 +00:00
Michael Raskin 0ef3e9e148 Added zlib and OpenSSL optional support to ruby
svn path=/nixpkgs/trunk/; revision=11556
2008-04-11 09:21:27 +00:00
Eelco Dolstra a08bb7f48c * Latest Ruby.
svn path=/nixpkgs/trunk/; revision=8887
2007-06-18 10:23:09 +00:00
Martin Bravenboer 9a1aec2f31 Build ruby with ncurses and readline
svn path=/nixpkgs/trunk/; revision=5292
2006-05-11 00:16:23 +00:00
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra 53c56afcfe * Fix some broken URLs.
svn path=/nixpkgs/trunk/; revision=4622
2006-01-30 15:52:15 +00:00
Martin Bravenboer 24d6f803f0 Ruby
svn path=/nixpkgs/trunk/; revision=2990
2005-05-04 23:36:28 +00:00