I have a small server which I want to get Ruby on Rails working on.
I've installed Ruby and RubyGems, but when I try to install any
package through RubyGems, the server load climbs out of control, and
the install process (sudo ruby install rails) which has been running
for more than three hours now appears to have gotten nowhere. Is the
server just not able to handle Ruby properly? Is there a way to
manually update the source index?
If you've got limited memory, you should use capistrano and vendor/ and deploy your entire environment rather than trying to install everything by hand. Small memory slices aren't meant for traditional development.
···
On Jun 25, 2007, at 15:50, Isarian wrote:
I have a small server which I want to get Ruby on Rails working on.
I've installed Ruby and RubyGems, but when I try to install any
package through RubyGems, the server load climbs out of control, and
the install process (sudo ruby install rails) which has been running
for more than three hours now appears to have gotten nowhere. Is the
server just not able to handle Ruby properly? Is there a way to
manually update the source index?
--
Poor workers blame their tools. Good workers build better tools. The best
workers get their tools to do the work for them. -- Syndicate Wars
While doing "sudo gem install any_gem"
I am experiencing the same problem on my recently installed Ubuntu-Fiesty:
Linux prasad-desktop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC
2007 i686 GNU/Linux
Because of the hint about memory I found that my swap is not enabled.
Googling revealed a bug and some fixes.
$ free
total used free shared buffers cached
Mem: 223636 215352 8284 0 1276 83788
-/+ buffers/cache: 130288 93348
What worked for me to solve this problem is editing the /etc/fstab and
replacing the swap partition line
UUID=b4e51f53-5be6-4536-8668-02923d8b3c59: none swap sw
0 0
with:
/dev/hdc5 none swap sw 0 0
and rebooting
Thanks to both of you
Prasad
···
On 6/28/07, Eric Hodel <drbrain@segment7.net> wrote:
On Jun 25, 2007, at 15:50, Isarian wrote:
> I have a small server which I want to get Ruby on Rails working on.
> I've installed Ruby and RubyGems, but when I try to install any
> package through RubyGems, the server load climbs out of control, and
> the install process (sudo ruby install rails) which has been running
> for more than three hours now appears to have gotten nowhere. Is the
> server just not able to handle Ruby properly? Is there a way to
> manually update the source index?
If you've got limited memory, you should use capistrano and vendor/
and deploy your entire environment rather than trying to install
everything by hand. Small memory slices aren't meant for traditional
development.
--
Poor workers blame their tools. Good workers build better tools. The
best
workers get their tools to do the work for them. -- Syndicate Wars
I have a small server which I want to get Ruby on Rails working on.