Sha256: 9e61e8a330cc96d93628fbda6e93df1d7e99d67a2dd8cde291af2b8da62f1e95
Contents?: true
Size: 986 Bytes
Versions: 3
Compression:
Stored size: 986 Bytes
Contents
#!/bin/bash cd `dirname "$0"` HERE=`pwd` RAILS_VERSION=2.0.2 cd "$HERE" echo "********** PROXY:${http_proxy:-none\\n**********\\n********** http_proxy is not set.\\n********** Please set http_proxy if you are behind a firewall.\\n**********\\n********** (example http_proxy=http://yourproxy:yourport)\\n**********}" | sed 's/\\n/\n/g' gem${WINDIR:+.bat} install --no-rdoc --no-ri --version "= $RAILS_VERSION" rails cd "$HERE" echo "******************************" echo "Never overwrite existing files" echo " (answer N)" echo "******************************" TOBESAVED="rails/app/controllers/application.rb rails/config/routes.rb rails/config/environment.rb" for x in $TOBESAVED do mv $x $x.save done rails${WINDIR:+.bat} "_${RAILS_VERSION}_" rails rm -f rails/public/index.html for x in $TOBESAVED do mv $x.save $x done cd "$HERE/rails" ruby script/plugin install auto_complete #if index.html is here there will be no redirection to /mtk rm -f public/index.html
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ontomde-core-2.0.0 | lib/ontomde-core/inspector/setup_rails.sh |
ontomde-core-2.0.4 | lib/ontomde-core/inspector/setup_rails.sh |
ontomde-core-2.0.5 | lib/ontomde-core/inspector/setup_rails.sh |