Apps :: Install Rails on DSL



I've been trying to create a Rails setup on my DSL machine (a K6-2 450 w/ 256MB and DSL 4.0rc3)

Initially I just used it as a NAS (2 HDD x 250GB) but I want to try some new stuff (new 2 me).

What I did:

1. install ruby 1.8.1 from MyDSL repo - Ruby

2. install gem:
 - first I tried apt-get
 - then I just got it from the application site. (rubygems-0.8.5 and then rubygems-0.8.3) RubyForge - RubyGems

This is as far as I got ...  the main issue is I cannot install gem ...

I have a setup on windows ... with a newer ruby and gem ...

Is there a newer ruby release compiled for DSL ?

No, but I'll see if I can recompile what I have and make a UCI this weekend:
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]

That'd be great.
Thanks.

Can you let me know what you did to compile ruby .

Sure, it's straightforward because you don't have dependencies to worry about unless you want to add certain features or widget sets. You need the GCC extension from MyDSL as well as the source.

Then it's a standard ./configure; make; make install. That compiles the defaults. You can run the various README/INSTALL files (I don't recall what all it has off the top of my head) or
Code Sample
./configure --help | less

to get the compile options (you add those to ./configure).

If you're running a frugal install, use the UNC version of GCC (so you can unload it after you compile) and set the prefix wherever you have a persistent partition (such as home or opt). If you have and want to use (for example) /mnt/hda3/opt, you'd add a flag like "--prefix=/mnt/hda3/opt/ruby186" when you run ./configure.

Quote (lucky13 @ Jan. 05 2008,08:31)
Quote

If you're running a frugal install, use the UNC version of GCC (so you can unload it after you compile)

Unload a unc?
Next Page...
original here.