[BUG] installation rake tasks are missing environment variables
Reported by webmat | March 26th, 2008 @ 09:10 PM | in 1.0 preview
Some of the ENV variables seem not to be set properly anymore prior to the install and uninstall rake tasks.
I suspect that replacing shotgun/mkconfig.sh with the :config_env task is where the problem is. However my Rake_fu is not good enough for me to really say anything more.
The build and distclean tasks work without a hitch.
When installing:
sudo rake install
...
install -c rubinius.bin /usr/local/bin/rbx
rake aborted!
undefined method `to_str' for nil:NilClass
/Users/mathieu/dev/_rubies/rubinius/code/rakefile:173
=> ENV['RBAPATH']
When uninstalling:
sudo rake uninstall
Password:
(in /Users/mathieu/dev/_rubies/rubinius/code)
rake aborted!
can't convert nil into String
/Users/mathieu/dev/_rubies/rubinius/code/rakefile:195:in `join'
=> ENV['BINPATH']
I'm currently on commit 60a6b20039ff7322b853f3cab4484a01834abb9a
As hinted before, I think the problem may come from commit 5dee7377f21dad0aecef82e8f6aa3be9dbd19d28
I'm on OS X Leopard
uname -a
Darwin ml.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
Comments and changes to this ticket
-
webmat March 27th, 2008 @ 03:15 PM
- → Assigned user changed from to Ryan Davis
-
Charles Comstock November 24th, 2008 @ 07:37 PM
- → Tag changed from to bug installation
- → State changed from new to resolved
We currently do not appear to have a rake install, so presumably this will resume being an issue when we have install/uninstall again. Symlinking into the current build directory should work for now.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
