I have ruby 1.8.4 and gem 0.8.11 installed on Ubuntu Dapper.
Now I wanted to use gem to install rails (as documented in the wiki).
That worked fine, but afterwards, the command rails is not found.
It seems that the gem install command does not place the binaries in the
apropriate directory.
The instruction pages at the Rails websites show that one cun simply
type “rails” after the gem install, but that does not work here.
I have ruby 1.8.4 and gem 0.8.11 installed on Ubuntu Dapper.
Now I wanted to use gem to install rails (as documented in the wiki).
That worked fine, but afterwards, the command rails is not found.
It seems that the gem install command does not place the binaries in the
apropriate directory.
The instruction pages at the Rails websites show that one cun simply
type “rails” after the gem install, but that does not work here.
Is that known/on purpose/a bug?
Am I the only one who experiences this problem? Any ideas how I could
find out what is going wrong here? It puzzles me that this is obviously
supposed to install the binary somewhere where a standard Linux distro
expects binaries, but this is obviously not happening in my case …
I would not use the stock install of ruby on Ubuntu. I would compile
from
source. I will send you my instructions in another email. There are
some
specific steps I follow when doing so.
I would not use the stock install of ruby on Ubuntu. I would compile
from
source. I will send you my instructions in another email. There are
some
specific steps I follow when doing so.
Just out of curiosity - why? My guideline and indeed interest is to
install as much as is reasonably possible from a package – not the
least, because then I can uninstall it if required or update it
if there is an update (even get notified by the update manager if
the update is critical).
So … why would there be a problem with installing ruby with apt
and why would this cause gem to misbihave in the way I described?
Confidentiality Notice: This email message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and/or privileged information. If you are not the intended
recipient(s), you are hereby notified that any dissemination,
unauthorized review, use, disclosure or distribution of this email and
any materials contained in any attachments is prohibited. If you receive
this message in error, or are not the intended recipient(s), please
immediately notify the sender by email and destroy all copies of the
original message, including attachments.