set this var before gem install command [code]export CXX=g++[/code]
-
‹ Home
Contents
-
Categories
-
Tags
-
Archives
Blogroll
-
RSS Feeds
-
Meta
I tried this before mod_rails launched. Pushing my command log for reference. This setup uses rubyworks, details can be found here http://studios.thoughtworks.com/rubyworks I tried this on a redhat machine. The setup seems to be working perfectly fine. clear 2 ruby 3 yum install ruby 4 wget http://rubyworks.rubyforge.org/RubyWorks.i386.repo 5 sudo cp RubyWorks.i386.repo /etc/yum.repos.d/ 6 uname -A [...]
RAILS_ROOT gives you relative path within the applications it works fine as far as you need the path within rails application. How about getting absolute path to rails folder? I found one way, and thats from the ENV hash. You can use ENV['PWD'] to find absolute path to the rails folder. Any other ways ?? [...]