Show HN: Rails One Click Installer for Mac Os X
github.com
github.com
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.
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.
Once upon a time, my neighbor brought me a cake that they had made. It was fantastic. They weren't a professional baker, but could likely have sold the recipe to that cake, as I enjoyed it immensely.
Does this now mean that all other cakes aren't worth it? If I go to the grocery store, can I just walk out with a cake because "someone else is willing to do it for free"?
Obviously, the answer is that I can't. You're perfectly welcome to think whatever snide things you like about wycats, but it seems like kind of a douchey thing to do unless you were personally willing to provide Rails.app.
oscardelben is. Perhaps it's to make a name for himself? Perhaps it's because he believes it should be done? Perhaps it's because he believes that wycats shouldn't be charging money for it? Who knows?
It's awesome that he's doing it, and it makes him look like a big giant hero. He deserves every kudo that comes his way -- but that doesn't mean, for one second, that wycats shouldn't be able to accept money people are willing to give for a task he can perform very well. wycats is a proven developer, and doesn't need any reputation. (Not saying that oscar isn't -- I don't generally follow Rails development that closely. Apologies if he's the Linus Torvalds of Rails or something.)
And at the risk of sounding like a tool, we should probably point out that oscardelben's project isn't finished, and is described, in the Readme as "Not ready". It might take him a few months to get it perfect.
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.
The man is taking time off his job to do something he loves for a community which he's put a lot of time into, and that's something anyone should respect.
That was the only analogy I could think of when comparing guitarists. I didn't mean to equate both you and myself to famous programmers as children, but that's the best I could do in 5 min. My point was just to show that Yehuda isn't some average unknown panhandling for money. He's well known and he's already given a lot to the community and not to just Ruby.
I can see many ways he could spend 5 months making this great and configurable setup utility, and since so many people will use it if it's good, it's worth one person spending a long time on it. It will probably save 40k of value in terms of time for the world within the first day of its release, and after that, it will keep on giving.
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.
I'm guessing the majority of people don't spend the majority of their time installing rails. It's all the other requirements that are needed to build out the application.
Ended up backing away slowly and never looking at RoR again.
Honestly: I am an experienced programmer and all I could make of the install process (plus the attempted installation of some gems) was an utter dogs breakfast.
So as anecdotal evidence goes - add mine to the list please.
About a year ago I opened a terminal on my Mac and typed:
$ gem install rails sqlite3-ruby
I waited a few minutes for it to finish, then made a new directory, created a new rails project, ran 'rails server', opened a browser, and it worked.Has this changed dramatically? I'm not talking about people who want to test out 5 different versions of ruby and rails simultaneously. I'm just talking about the basic first-time rails developer who wants to get a rails env up and running quickly (which is explicitly the audience for this one-click installer).
If you want or need ruby 1.9.x, then that's a little more work. Install homebrew or MacPorts or whatever and install 1.9 through that, make sure that guy is first in the PATH, and then do the 'gem install' dance. But this is hardly something that needs 5 months of work and $40k to accomplish.
This doesn’t seem to be isolated to Rails though, Django seems to have gotten harder. I actually gave up installing Django due to a localization bug.
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 imploderuns to her terminal
tealfour:~ egypt$ rvm implode -bash: rvm: command not found
Well poop. Thanks anyway!
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.Also, most of the Ruby or Rails developers I know use either rvm or rbenv to have multiple versions of Ruby installed side by side.
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).
$ 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_patchBeen using it at work for local dev and in production. Feels good, man.
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.