After installing gem, rails, mongrel, … on the remote server, I had
to add two alias to the bash files, I don’t know if I have to do
something similar to Rails:
alias ruby=ruby1.8
alias irb=irb1.8
but I can’t find the correct path of Rails
$ find . -type f -name “*rails” -print
(nothing found)
Apparently rubygems and ruby packages installed via apt-get
occasionally do weird, often slightly broken, things (like the
inability to do rails --version)
Apparently rubygems and ruby packages installed via apt-get
occasionally do weird, often slightly broken, things (like the
inability to do rails --version)
Fred
so, it’s better to install from source code and compile it the gem ruby
instead of with aptitude ?
in my previous Debian Etch I had installed all from source code but got
stucked on nginx and all their dependencies, so I’ve installed Lenny and
all with aptitude …
Because I don’t know your server environment. may be its /usr/local/
lib/ruby/ So please confirm and export that should work.
Let me know if i can help you.
Because I don’t know your server environment. may be its /usr/local/
lib/ruby/ So please confirm and export that should work.
Let me know if i can help you.
the problem was it wasn’t working and now I see that my find commands
were wrong, I don’t know if it was simply a path problem, so I installed
rails with aptitude and later upgraded it with gem upgrade rails
but, my initial question was about rails and not ruby or rubygems …