When I run ruby --version on the command line it gives the version:
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux], MBARI 0x6770, Ruby
Enterprise Edition 2011.03
so ruby certainly exists.
-- Ken
On Tue, 7 Feb 2012, Paul R Alexander wrote:
Ken,
You are correct on the folder location, we've updated that on recent
versions of the NCBO Virtual Appliance and thanks for letting me know so
I could update the docs. However, ruby should be available and executing
the script/generate command should work fine.
If you run 'ruby --version' at the command line, it should return the
ruby version you're using as the default in your path, not a 'No such
file or directory' error. Looking at your error message it almost looks
like the ruby binary has been deleted or moved out of the path.
Paul R Alexander
Web / UI Developer
NCBO BioPortal
Stanford Center for Biomedical Informatics Research
On 1/31/12 9:47 AM, kenb wrote:
I am trying to extend the BioPortal Rails UI on oor-03 using
http://palexander.posterous.com/extending-bioportals-rails-ui
It seems one must use
cd /srv/ncbo/rails/BioPortal/current
rather than
cd /var/rails/BioPortal/current
There is a script/generate, but when I try running it, I get
/usr/bin/env: ruby: No such file or directory
Does anyone have some idea of how this can be fixed?
-- Ken
_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/oor-dev/
Config/Unsubscribe: http://ontolog.cim3.net/mailman/listinfo/oor-dev/
Shared Files: http://ontolog.cim3.net/file/work/OOR/dev/
Wiki: http://ontolog.cim3.net/cgi-bin/wiki.pl?OpenOntologyRepository
_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/oor-dev/
Config/Unsubscribe: http://ontolog.cim3.net/mailman/listinfo/oor-dev/
Shared Files: http://ontolog.cim3.net/file/work/OOR/dev/
Wiki: http://ontolog.cim3.net/cgi-bin/wiki.pl?OpenOntologyRepository
_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/oor-dev/
Config/Unsubscribe: http://ontolog.cim3.net/mailman/listinfo/oor-dev/
Shared Files: http://ontolog.cim3.net/file/work/OOR/dev/
Wiki: http://ontolog.cim3.net/cgi-bin/wiki.pl?OpenOntologyRepository