Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Install Rails on DSL, Trying to install Rails on DSL ...< Next Oldest | Next Newest >
mariusc80 Offline





Group: Members
Posts: 12
Joined: June 2007
Posted: Jan. 04 2008,18:03 QUOTE

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 ?
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Jan. 04 2008,21:34 QUOTE

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]


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
mariusc80 Offline





Group: Members
Posts: 12
Joined: June 2007
Posted: Jan. 05 2008,07:02 QUOTE

That'd be great.
Thanks.

Can you let me know what you did to compile ruby .
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Jan. 05 2008,13:31 QUOTE

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.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Jan. 05 2008,23:51 QUOTE

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?
Back to top
Profile PM 
13 replies since Jan. 04 2008,18:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Install Rails on DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code