Hi Kristian,
First, I'm not sure if this is the correct list to discuss this issue...
Then, I would advise you to take a look at these instructions I used to
set up Gitorious using Debian (or Ubuntu) packaged Ruby using Opscode Chef:
https://github.com/rosenfeld/gitorious-cookbooks
You should avoid installing rubygems from apt and use "tar zxf" instead
for installing it. Than you can choose which Rubygems version you prefer
to work with.
Hope that helps,
Rodrigo.
Em 17-06-2011 09:10, kristian escreveu:
if I have the choice I would use debian as well.
but I had a few observations - heroku runs
http://devcenter.heroku.com/articles/stack debian (or ubuntu) with one
or two (ree-1.8.7 + mri-1.92).
for such a setup you just do not need RVM, the separation between
those ruby's I get from ruby itself:
$HOME/.gem
├── jruby
│ ├── 1.8
│ └── 1.9
├── ruby
├── 1.8
└── 1.9.2
so unless you use ruby-edge on a production server then ruby from the
OS should do.
the actual problem with both debian and ubuntu is rubygems, just
recently the one I had from ubuntu stopped working due to some updates
on the rubygems.org server :-(
since RVM manage rubygems as well this is definitely a plus for it.
I wondered if you can really run mod_apache on apache with jruby - I
appreciate any pointers to a howto for such a setup !!!!
anyways with jruby you put the java world into the round: how does RVM
handles the different JVMs (from ibm, sun, openjdk, jrocket) and its
different versions ?
- Kristian
PS just a thought:
never is never right. always is always wrong
On Fri, Jun 17, 2011 at 3:54 PM, Rodrigo Rosenfeld Rosas
<[email protected]> wrote:
Honestly, I always see Ubuntu Server as a joke. I imagine it like "Windows
XP Server"... You should really be using Debian as a server, since Ubuntu is
not reliable enough for a server anyway (I know by bad experience on Ubuntu
servers in Locaweb)...
Em 17-06-2011 00:19, kristian escreveu:
IMO never ever I would use RVM on a ubuntu server eveything should
come through the ubuntu package manager (broken or not) including
security updates.
and I run ruby on ubuntu happily without RVM after I found out how to
avoid 'sudo' with bundler.
- Kristian
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.