# Rails stack on debian

**URL:** <https://www.ruby-forum.com/t/rails-stack-on-debian/57640>\
**Category:** Rails\
**Created:** [April 12, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/rails-stack-on-debian/57640 "2006-04-12T18:47:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsaccon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@rsaccon](https://www.ruby-forum.com/u/rsaccon)\
**Post date:** [April 12, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/rails-stack-on-debian/57640/1 "2006-04-12T18:47:29Z")

</div>

I am putting a rails stack on a debian linux box. Ezra did a great job  
with  
his tutorial [http://brainspl.at/rails\_stack.html](http://brainspl.at/rails_stack.html)

What I am in doubt is what is recommended / common practise to install  
stuff  
which is not availble yet with apt-get (eg. ruby 1.8.4, postgresql 8.1,  
lighttpd).

the options I played with (=\> and the conclusion):

compiling from source (get source straight from developer site)  
=\> a lot of work, and even more maintenance later

using unstable packages with apt-get  
=\> sometimes totally messes up dependencies, in a way that I can’t  
install  
other software anymore

using debian backports [http://www.backports.org](http://www.backports.org)  
=\> great, if I find the package there

any comments / better options ?

---

<div class="post-metadata">

**Author:** ![rsaccon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@rsaccon](https://www.ruby-forum.com/u/rsaccon)\
**Post date:** [April 12, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/rails-stack-on-debian/57640/2 "2006-04-12T20:38:32Z")

</div>

Roberto S. wrote:

> I am putting a rails stack on a debian linux box. Ezra did a great job  
> with  
> his tutorial [http://brainspl.at/rails\_stack.html](http://brainspl.at/rails_stack.html)
> 
> What I am in doubt is what is recommended / common practise to install  
> stuff  
> which is not availble yet with apt-get (eg. ruby 1.8.4, postgresql 8.1,  
> lighttpd).
> 
> the options I played with (=\> and the conclusion):
> 
> compiling from source (get source straight from developer site)  
> =\> a lot of work, and even more maintenance later
> 
> using unstable packages with apt-get  
> =\> sometimes totally messes up dependencies, in a way that I can’t  
> install  
> other software anymore
> 
> using debian backports [http://www.backports.org](http://www.backports.org)  
> =\> great, if I find the package there
> 
> any comments / better options ?

I’ve just recenltly had to start thinking about my deployment…

My development box is Ubuntu with ruby 1.8.4 from source, postgresql 8.1  
from backports and apache from stable.

I’m planning on switching to debian with ruby 1.8.4, postgres 8.1.3,  
light 1.4.11 and mongrel.

None of those packages are so fast moving that they’re hard to keep up  
with.

I haven’t done it yet, this week end I think, so I really can’t comment  
much…

other than to say it was my plan.

---

<div class="post-metadata">

**Author:** ![rsaccon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@rsaccon](https://www.ruby-forum.com/u/rsaccon)\
**Post date:** [April 13, 2006, 2:57am UTC](https://www.ruby-forum.com/t/rails-stack-on-debian/57640/3 "2006-04-13T02:57:41Z")

</div>

On Wed, Apr 12, 2006 at 01:44:44PM -0300, Roberto S. wrote:

> What I am in doubt is what is recommended / common practise to install stuff  
> which is not availble yet with apt-get (eg. ruby 1.8.4, postgresql 8.1,  
> lighttpd).
> 
> the options I played with (=\> and the conclusion):

[…]

Take the packages from unstable, and backport them yourself =\> the  
software you need, for the distribution you want, without excessive  
dependency hassles.

There’s a decent howto out there for doing backports; google for “Debian  
Backport HOWTO” should find it (I’d find the URL for you, but I’m  
offline at  
present).

- Matt

---

<div class="post-metadata">

**Author:** ![rsaccon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@rsaccon](https://www.ruby-forum.com/u/rsaccon)\
**Post date:** [April 13, 2006, 5:50am UTC](https://www.ruby-forum.com/t/rails-stack-on-debian/57640/4 "2006-04-13T05:50:47Z")

</div>

You can also try apt-pinning when you want to mix between stable,  
testing and unstable packages. Just google apt-pinning for more info.

-bakki

---

<div class="post-metadata">

**Author:** ![rsaccon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@rsaccon](https://www.ruby-forum.com/u/rsaccon)\
**Post date:** [April 13, 2006, 3:06am UTC](https://www.ruby-forum.com/t/rails-stack-on-debian/57640/5 "2006-04-13T03:06:45Z")

</div>

Matt, thanks very much, I will google for that HOWTO.

Take the packages from unstable, and backport them yourself =\> the

> software you need, for the distribution you want, without excessive  
> dependency hassles.
> 
> There’s a decent howto out there for doing backports; google for “Debian  
> Backport HOWTO” should find it (I’d find the URL for you, but I’m offline  
> at  
> present).
> 
> - Matt

Hey, how did you beam your post into the Internet, if you say that you  
were  
offline ?
