guix-devel/guix
Christopher Baines d9df4bf055
ruby-build-system: Add wrap-ruby-program.
A modified copy of wrap-program from (guix build utils). The wrap-program
procedure doesn't work well for Ruby scripts, as it breaks using the -S flag
with ruby to execute the script, as when -S is passed to ruby, it expects the
script on the PATH to use ruby in the shebang, and not bash.

Therefore, to wrap the program, but keep the shebang as ruby, wrap it with a
ruby script instead.

wrap-ruby-program uses .real/foo rather than .foo-real, as this might be
neater. This procedure also includes a call to Gem.clear_paths to make it
possible to set the GEM_PATH through this method, and for it to take effect.

* gnu/build/ruby-build-system.scm (wrap-ruby-program): New procedure.
2018-01-14 22:16:15 +00:00
..
build ruby-build-system: Add wrap-ruby-program. 2018-01-14 22:16:15 +00:00
build-system build-system/asdf: Use 'mlambda'. 2017-12-10 23:44:58 +01:00
import gnu: Use one spelling for ‘copyright’. 2018-01-10 18:21:20 +01:00
scripts offload: 'test' reports Guile and module errors more nicely. 2018-01-12 23:41:15 +01:00
store
tests tests: Support multiple HTTP server instances. 2017-10-12 23:47:48 +02:00
base16.scm
base32.scm base32: Export the base32 charsets. 2017-07-21 17:03:24 +02:00
base64.scm
build-system.scm
cache.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm cve: Use 'http-fetch/cached' instead of having custom caching. 2017-11-16 08:45:15 +01:00
cvs-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
derivations.scm derivations: Fix typo in docstring. 2018-01-11 00:00:03 +01:00
discovery.scm Revert "Add (guix self) and use it when pulling." 2017-11-21 23:53:10 +01:00
docker.scm
download.scm download: Use HTTPS for the first ImageMagick mirror. 2017-11-12 17:50:01 -05:00
elf.scm
ftp-client.scm download: Pass the timeout to 'ftp-retr'. 2017-11-14 23:46:53 +01:00
gcrypt.scm
gexp.scm gexp: 'computed-file' has a new #:guile parameter. 2017-12-18 17:52:58 +01:00
git-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
git.scm git: Do not add '.git' to the store. 2017-11-21 23:09:16 +01:00
gnu-maintenance.scm gnu-maintenance: 'latest-ftp-release' ignores "unstable" directories. 2017-12-17 16:52:27 +01:00
gnupg.scm
grafts.scm
graph.scm Revert "graph: Provide access to the package record in the emit functions." 2017-08-24 23:55:51 +02:00
hash.scm
hg-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
http-client.scm cve: Use 'http-fetch/cached' instead of having custom caching. 2017-11-16 08:45:15 +01:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
licenses.scm licenses: Add wxWindows 3.1 license. 2017-12-08 15:03:46 +01:00
man-db.scm guix: Exclude broken symlinks from man files. 2017-12-22 00:06:37 +01:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm discovery: Move 'file-name->module-name' to (guix modules). 2017-10-22 22:09:00 -07:00
monad-repl.scm
monads.scm
nar.scm
packages.scm Revert "packages: 'package-grafts' trims native inputs." 2017-12-06 09:07:28 +01:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Use (guix man-db) to create the manual database. 2017-12-17 16:19:00 +01:00
profiling.scm Add (guix profiling). 2017-12-12 18:11:22 +01:00
progress.scm progress: Rename 'erase-in-line' to 'erase-current-line'. 2017-12-15 11:53:21 +01:00
records.scm records: Use 'make-struct/no-tail'. 2017-12-01 18:47:34 +01:00
scripts.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
search-paths.scm
serialization.scm store: Fix potential over-reads in 'import-paths'. 2018-01-11 00:00:02 +01:00
sets.scm
ssh.scm ssh: Switch back to 'get-bytevector-some'. 2018-01-12 23:41:15 +01:00
store.scm store: Fix potential over-reads in 'import-paths'. 2018-01-11 00:00:02 +01:00
svn-download.scm
tests.scm
ui.scm ui: Display hints that come along with '&message' conditions. 2018-01-07 23:46:39 +01:00
upstream.scm upstream: Reject bogus archive type guesses. 2017-12-19 18:16:47 +01:00
utils.scm guix: utils: Add version-major. 2017-12-11 19:12:23 +00:00
workers.scm workers: Display backtrace in pre-unwind handler. 2017-11-17 10:47:56 +01:00
zlib.scm zlib: Fix race condition when closing gzip ports. 2017-11-19 23:09:01 +01:00