Re:New Debian Project Leader elected: Lucas Nussbaum
by ivix on Sunday April 14, 2013 @02:48PM
(#5547776)
After trying to install a rails app on Ubuntu , frankly the entirety of ruby and its notion of how a mature language should be packaged is pure amateur hour. Rvm is a mess, the various versions are a mess. For example v1.9.3 appears to be considered the same as 1.9.1, and random bugs appear when moving between versions. WTF?
[ Parent
| on HN ]
Re:New Debian Project Leader elected: Lucas Nussbaum
by kawsper on Sunday April 14, 2013 @03:32PM
(#5547953)
I don't understand your issues with Ruby on Ubuntu, setting it up with RBenv is fairly simple, you can see my build script here: https://gist.github.com/kaspergrubbe/5383877
About 1.9.3 and 1.9.1 are you sure that it isn't about this issue described here: http://stackoverflow.com/questions/8564210/why-are-we-instal... ?
Re:New Debian Project Leader elected: Lucas Nussbaum
by alrs on Sunday April 14, 2013 @07:31PM
(#5548864)
You never use tools like rbenv or rvm on production servers. They exist so that mac devs can be running the same versions of ruby found in the Linux distros.
Re:New Debian Project Leader elected: Lucas Nussbaum
by jhawthorn on Sunday April 14, 2013 @10:02PM
(#5549327)
I would argue the opposite: you should always use rvm (or similar) in production. I've done this for many projects, it's great to have the same ruby version and patchset in development, CI, staging, and production. rvm is also well supported in capistrano and jenkins.
Re:New Debian Project Leader elected: Lucas Nussbaum
by kawsper on Sunday April 14, 2013 @09:57PM
(#5549308)
37signals is using rbenv in production, and I know of several other big companies that does as well, and I am feeling quite comfortable using it.
Re:New Debian Project Leader elected: Lucas Nussbaum
by andyl on Sunday April 14, 2013 @07:52PM
(#5548928)
Well, I use Debian for development and production, and I would never use Debian ruby packages on production. With the Debian packages, you have no idea what version you're getting. And then gem installs can only be done by the root user, not the deploy user. What a mess.
Godspeed Leader Nussbaum! I hope that your first action is to find a replacement for whoever was responsible for the debian-ruby disaster.
Re:New Debian Project Leader elected: Lucas Nussbaum
by _delirium on Sunday April 14, 2013 @08:18PM
(#5549024)
I haven't used Ruby much, but the Debian approach works well for me in Perl. I like that instead of pulling random packages off CPAN with no testing, I can depend on a Debian package of a Perl module, which is integration-tested with the rest of the distribution and release-managed, especially in terms of which other packages and versions it works with.
Re:New Debian Project Leader elected: Lucas Nussbaum
by kawsper on Sunday April 14, 2013 @09:59PM
(#5549316)
How do you ensure which versions of the packages that you receive?
It is nice to rely on system-packages, but if you depend on certain versions of certain packages you might see problems with that approach.
Re:New Debian Project Leader elected: Lucas Nussbaum
by ars on Monday April 15, 2013 @12:19AM
(#5549704)
If you depend on certain versions of a package you have bigger problems.
Re:New Debian Project Leader elected: Lucas Nussbaum
by kawsper on Monday April 15, 2013 @04:16AM
(#5550354)
Yeah, legacy systems, you are fortunate if you don't have to deal with these.
Re:New Debian Project Leader elected: Lucas Nussbaum
by jeltz on Monday April 15, 2013 @06:07AM
(#5550642)
I am pretty sure I have done gem installs as the current user with the Debian packages. It could be that they changed something recently though.
Re:New Debian Project Leader elected: Lucas Nussbaum
by alrs on Sunday April 14, 2013 @09:53PM
(#5549295)
apt-get -s install ruby1.9.1-full. A simulation-only dry run that will show you exactly what is being installed.
Re:New Debian Project Leader elected: Lucas Nussbaum
by clark-kent on Sunday April 14, 2013 @10:51PM
(#5549474)
I'm not sure why most tutorials suggests installing RVM. You don't need rvm unless you are a running multiple rubies. You can install v1.9.3 from apt-get install ruby1.9.3. And a production server shouldn't run RVM. RVM just adds unnecessary complexity.