92 points · by oscardelben · 14y ago · 68 comments
I guess you don't need $44,219 to make "rails simple again".
But Yehuda Katz has the temerity to suggest that working directly for his end-users might be a good way to accomplish the same goal, and for that, earns snarky bullshit like this.
And since you mentioned it, $44k is a two full years salary where I live, so excuse me if I think that's a bit much for a installer script.
Other than that, I have no interest in this since I'm not a RoR developer nor am I planning on becoming one. Like I said, I just wanted to provide context.
http://www.crunchbase.com/person/yehuda-katz
It's like saying, "Yeah Slash or Eddie Van Halen needs 40k to record a few tracks, but this kid from across the street will do it for free."
To add to that, most open source contributors live in large metros that aren't cheap (in the West and East Asia). $25k does not even come close to covering a year in those areas.
But since you don't know what you're talking about, I'm left wondering why you bothered to comment on this thread. What context could you possibly have to offer?
The level of irrational behavior dollar signs generate on HN is baffling.
I spent a day recently trying to install Rails on my Air. I fiddled with it once back when Locomotive worked. I was expecting a nice clean drag-n-drop like that or MAMP. Instead I wasted half the day with broken Locomotive, then spent the rest of the day installing the dev tools (which space I can ill spare on my Air) and getting it running. I lost all desire to actually fuck wih it during that time. Now I want to nuke it because something's eating up all my free space and it started a little after I installed ROR. And I have no fucking idea where to start aside from just flushing the machine and restoring apps/data from backup.
So that's one piece of any data from a frustrated artist/occasional hobby coder who really never wants to touch the command line in her life. This is what it's like for a noob: scary, frustrating, and confusing.
You're receiving a negative reaction here because you made a disingenuous comparison. If you honestly can't see the differences, then you have no place in the discussion.
You are, of course, welcome to your opinion, but do not be surprised when others answer in kind.
Edit: Here's a link to JM's blog post explaining his choices for Railcar[2].
[1]: https://github.com/arcturo/Railcar
[2]: [1]: http://omgbloglol.com/post/20783445544/on-railcar-an-isolate...
The author might make this more compelling by sandboxing things like nginx, unicorn, etc. (in the path that MAMP and such have taken) that are a bit more of a pain to manage independently on OS X.
curl -L get.rvm.io | bash -s stable
source ~/.bash_profile
rvm install 1.9.3
gem install railsA week or two before Yehuda announced his KS, I decided I wanted to fuck around with ROR. I blew like a half a day wrestling with Locomotive. Then I followed... some reciepe, I couldn't tell you where I found it.
By the time I got that working I had blown the whole day. And I had no energy to actually try, you know. Fucking with ROR. I still haven't.
And ever since I did this, I've been having problems with something filling up the limited space on my Air. When I reboot it goes back to normal, but within a week I've got my computer bitching about being out of space.
Is it something my installation of ROR and it's support infrastructure is doing? Hell, I don't know. And since I honestly have no idea what exactly I installed where, it's pretty much impossible for me to uninstall ROR and it's infrastructure to find out if it's the cause.
If I'd been using a self-contained package like MAMP (or like what Locomotive used to be) then I'd be able to nuke it at the drop of a hat instead of spending a day or two trying to piece together what I did, try to remove a ton of command-line packages, and hope I don't accidentally kill off something my machine actually depends on for basic operation.
I think it is very very important for beginners to be able to say "gee I didn't get into this and I need space" and quickly remove it. Your method of using "the most common way" is very hostile to this.
rvm implode brew install rbenv
brew install ruby-build
ruby-build --definitions
rbenv install 1.9.3-p125
Not trying to debate RVM, which I never had a problem with, just throwing out an increasingly popular alternative.1. Install XCode and homebrew
2. sudo brew install {postgresql,rbenv,ruby-build}
3. Close terminal. Open terminal.
4. mkdir proj && cd proj && rbenv install 1.9.2-p290 && rbenv local 1.9.2-p290
5. gem install rails && rbenv rehash
6. rails new foo
That should get you up and running on any OSX with a sustainable environment (i.e. one that you can actually reproduce in the future and that can mimic your live servers).
No sudo. From https://github.com/mxcl/homebrew/wiki/FAQ:
> Why does Homebrew say sudo is bad? > tl;dr Sudo is dangerous, and you installed TextMate.app without sudo anyway.
> Homebrew is designed to work without using sudo. You can decide to use it but we strongly recommend not to do so. If you have used sudo and run into a bug then it is likely to be the cause. Please don’t file a bug report unless you can reproduce it after reinstalling Homebrew from scratch without using sudo.
$ cat share/ruby-build/1.9.3-p125-falcon
## Hat tip to @burkelibbey and @metaskills - who did all the real work
build_package_combined_patch() {
local package_name="$1"
{
curl https://github.com/ruby/ruby/pull/47.diff | git apply
curl https://raw.github.com/gist/1859082/performance_and_backport_gc.patch | patch -p1
autoconf
./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS
make -j 8
make install
} >&4 2>&1
}
CC=$(which clang) install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
CC=$(which clang) install_package "ruby-1.9.3-p125" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz" combined_patchAlso, most of the Ruby or Rails developers I know use either rvm or rbenv to have multiple versions of Ruby installed side by side.