TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rbenv, an unobtrusive rvm replacement

251 点作者 vamsee将近 14 年前

21 条评论

chc将近 14 年前
I'm having trouble imagining who this is for, at least in the context of an RVM replacement. The point of RVM is convenience. It's like RVM, only without most of the convenience (gemsets, installing standard versions and migrating between versions, primarily). If I wanted to manually manage all my Rubies, I wouldn't be using RVM. I like the sentiment of being less of a hack than RVM, but I just don't see much use for this particular set of functions
评论 #2875291 未加载
评论 #2893283 未加载
评论 #2876172 未加载
sstephenson将近 14 年前
An official release with a web site and improved installation process should be out next week.<p>If you're wondering "why would I use this instead of rvm?" be sure to read the readme: <a href="https://github.com/sstephenson/rbenv#readme" rel="nofollow">https://github.com/sstephenson/rbenv#readme</a>
评论 #2875469 未加载
评论 #2876217 未加载
评论 #2876067 未加载
评论 #2875631 未加载
cwjohnston将近 14 年前
Looks interesting. It's always been pretty amazing to me that a system like RVM remains so popular when it depends on overriding the operation of basic commands like 'cd'.
评论 #2875270 未加载
评论 #2875579 未加载
评论 #2875173 未加载
kaylarose将近 14 年前
Besides the whole `cd` override thing, I am curious why so many people are "confused" or have problems with RVM? (This is a genuine question. I've never had problems with RVM, but obviously others have, so I am curious)
swatermasysk将近 14 年前
I love the simplicity of Rbenv. I also love the "it's never good enough" mentality. I have not had any issues with RVM, but that doesn't mean people like Sam shouldn't try to build something better.
评论 #2879211 未加载
grimen将近 14 年前
Makes sense, though I'll stick to RVM until I change my mind - RVM floats my boat, haven't had any serios issues and I live in the shell. Bad short-term (community confusion), good long-term (evolution of initial innovation). I'm very neutral here.<p>I got a simple solution for all you distro vs RVM people: People who prefer to use RVM - use RVM, people who prefer to use distro - use distro. Until you have proven that a server that runs distro is 2x more valuable in $ - post on HN and we could review it again. Reminding you of that we don't live in a totally symmetric universe.
freedrull将近 14 年前
Yes RVM is a crazy hack, but that's why I love it! Has anyone actually had problems with RVM overriding 'cd'? Has RVM changed the behavior of 'cd' in a way that was a problem for you?
评论 #2876874 未加载
评论 #2876501 未加载
bonzoesc将近 14 年前
It would be somewhat cool if ruby-build knew how to look for an rbenv folder to install rubies into, or if rbenv knew how to drive ruby-build to put rubies in the right directory, but otherwise it's pretty nice.
评论 #2874955 未加载
jarin将近 14 年前
Pretty nice, but I actually do really like having gemsets. It gets me as close to the production environment as possible, plus it makes it really easy to clean up unused gems when I'm done with a project.
评论 #2875170 未加载
评论 #2875235 未加载
uxp将近 14 年前
For anyone that grew up outside of using a Bourne Shell (bash, sh, etc) like myself, this appears to be compatible with at least the C shell. A welcome relief, in my opinion.
bricestacey将近 14 年前
I just uninstall rvm and install rbenv. It seems to work so far. I'm glad to switch. rvm confused the hell out of me.
X4将近 14 年前
I upvote this because RVM caused me more pain than salvation. I regret the time wasted for RVM. Thanks for this vamsee!
derekprior将近 14 年前
I appreciate RVM and Wayne offers fantastic, other-worldly support. That said, there's always room for alternatives and I'm intrigued by rbenv. The part that gives me pause is the need to run `rbenv rehash` after installing a ruby (not so bad and possibly fixable if the aforementioned change to ruby-build is made) or after installing a gem that has binaries (I predict I will forget to do this a ton).<p>I could definitely see myself wanting to override `gem` in order to detect binary installations and automatically rehash. At which point, it's not so unobtrusive!<p>Still interested enough to try it out and see if that is as much of a hassle as I think it will be.
NARKOZ将近 14 年前
Is it production ready? RVM is.
评论 #2874967 未加载
评论 #2875001 未加载
评论 #2875197 未加载
评论 #2875149 未加载
评论 #2874949 未加载
评论 #2877339 未加载
评论 #2875495 未加载
metaskills将近 14 年前
We are software nerds people. It is supposed to be cool to se how others solve problems. It is as simple as that.
hadis将近 14 年前
With RVM you can change the rubygems version for an installed ruby interpreter. Is something like these possible with rbenv too? i use rubygems -v 1.3.6 for ruby-1.8.7 and rubygems -v 1.8.6 for ruby-1.9.2. I remember i had problems using rubygems 1.8.6 with ruby-1.8.7
评论 #2893205 未加载
rubyplusplus将近 14 年前
I've never had any problems with RVM, however with that said I will absolutely check out the code on github and may try this out.
revscat将近 14 年前
This looks promising because it looks like it will work seamlessly with tmux/screen, something rvm struggles with.
评论 #2876226 未加载
评论 #2876341 未加载
solid将近 14 年前
Good to see competition. RVM's "bug tracker" is the IRC channel...
iancanderson将近 14 年前
was this really necessary? i think RVM does a fine job at managing rubies.
xkumados将近 14 年前
rvm is easier to type than rbenv. i know aliases exist but whyyyyy? roarrr