Hacker News new | past | comments | ask | show | jobs | submit login
Heroku Lifts Ruby on Rails Development into the Cloud (YC Winter 08) (techcrunch.com)
59 points by danielha on Feb 7, 2008 | hide | past | favorite | 35 comments



Just tried Heroku... very fun.

There are limits to my joy, though. I immediately miss:

- emacs. Or at least Textmate. When I press ctrl-a and I get "select all" instead of move-beginning-of-line, I sigh inwardly.

- git. Although the "snapshot" feature is awesome and is arguably all that many people would want in a tool like this.

- autotest. This is a big one. I'm not much of a Rails wizard, but already I'm hooked on the joys of autotest.

Rather than ask for any of these potentially obscure features, however, let me ask this: how about a secure API that lets me (a) run rake tasks remotely and receive their output in return; and (b) upload/download any of my source files? Then I believe you can leave autotest, emacs, and perhaps even git support as exercises for the student. :)


"Relative to other programming languages, Ruby and the Rails framework can be particularly onerous just to install and configure."

WTF are they talking about?

  sudo port install rb-rubygems
  sudo gem install rails
  rails myproject
  cd myproject
  script/server


Congratulations, you have built an app with one user!

Now, if you want more users, and your home machine has a static IP, and port 80 is open, no problem. Except for the part where you will live in terror of any security holes. Oh, and the part where you've only got one server -- if this is your production server, where do you do your development? And then there's the part where you have to set up an init task to launch your server when the computer reboots. And the backups, of course.

Now show me how to give three remote collaborators secure access to your app's source code, but no access to anything else.

The default Rails install workflow is really nice, don't get me wrong. And Capistrano is great, and Slicehost is pretty easy to work with. But for a quick-and-dirty Rails demo, particularly in a teaching environment, Heroku appears to kick serious ass.


Yes, servers should be maintained by people who know what they're doing. This means you need to hire a third party (e.g. Engine Yard) or learn how to admin a server.

I'm not knocking Heroku -- you're right, it definitely looks like it'd be great for people just getting into web development or programming in general. I bet that most people who get into programming these days start off thinking "I want to make a website", and tools like this cater to that crowd.


You've given some good reasons for why it's complicated to install and configure a web framework. But the claim here is that ruby and rails are difficult relative to other programming languages.

Having installed and configured other frameworks for dev work, I'd say that rails is exceptionally easy, but I can't really speak to the challenges at the production level. For that, I use Joyent, which has been fairly easy as well.

None of this is meant to knock Heroku.


You know, stuff like:

  powerbook.local 102> sudo port install rubygems
  Password:
  Error: Port rubygems not found


Fixed. The port was actually "rb-rubygems", not "rubygems".

I'm no rails fanboy by far, but it's unfair to claim that rails is a hard environment to use when in reality rails goes out of its way to make RoR development dead simple.

</nitpick>


I'm no ruby developer so I decided to push your example a little further just to see how trivial it really is.

Unfortunately the next instruction you offer didn't work either:

  powerbook.local 105> sudo gem install rails
  Password:
  Bulk updating Gem source index for: http://gems.rubyforge.org
  ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find rails (> 0) in any repository
A little googling reveals that at least on OSX, you need to do this:

  powerbook.local 106> sudo gem update --system
  Password:
  Updating RubyGems...
and after that, then you can

  powerbook.local 107> sudo gem install rails
  [...]
  powerbook.local 108> rails myproject
  powerbook.local 109> cd myproject
  [...]
But then the next command you wrote blows up again:

  powerbook.local 110> ./script/server
  Cannot find gem for Rails =1.2.6.0:
    Install the missing gem with 'gem install -v=1.2.6 rails', or
    change environment.rb to define RAILS_GEM_VERSION with your desired version.


That's strange given that DHH himself uses OS X. I've had no problems at all installing Rails on Linux and Windows.


Who knows? Perhaps DHH doesn't follow jey's instructions to install ruby and start a rails project?

In any event web services like Heroku make it a moot point. I've yet to try it out but I can easily see the attraction when a trivial google search of "ruby install error" returns 100,000 hits.


Results 1 - 10 of about 153,000 for ruby install error. (0.23 seconds)

Results 1 - 10 of about 166,000 for python install error. (0.26 seconds)

Results 1 - 10 of about 264,000 for java install error. (0.22 seconds)

Results 1 - 10 of about 145,000 for gcc install error. (0.25 seconds)

This metric seems flawed.


I'm not claiming other languages are easier to install. I'm saying there is value in offering development tools over the web in a way that eliminates any need for installation.


That's great for development, but not for production. Deploying with Apache, etc is still a pain in the ass, as far as I can tell.


download locomotive or download instantrails


I'm excited to beta test. Who needs a MacBook Air to create your own interesting RoR project? This will let me hack Ruby on an ancient laptop. For bonus points, eventually, perhaps they could offer for-fee code reviews...


I think an IDE implemented in JavaScript would be rather inefficient, but that doesn't matter with modern hardware.


I know that Heroku's IDE is plenty efficient, even on older hardware. People have a hugely mistaken impression of what can and cannot be done in JavaScript.



I like this. That is all.


It must be nice to have the problem of needing to prevent an onslaught of new users.

That's when you know your idea is pretty good.


Wow - you can now code on your Iphone - fingers permitting! A most impressive concept - congratulations!


I would more likely import an existing rails project onto heroku rather than code the entire thing through the web. I have my own preferences when it comes to things like IDE's.

Still, nice scalability features.


Wow! I wish someone did the same for Pylons.


Very nice. I had this same exact idea a couple months back with the focus of tying it into a thin client computer. You buy the hardware and you instantly have access to all of these browser based applications that are hosted and built through a web service.

I'm on the sign-up list, can't wait to give it a try.


Did you guys get a confirmation email when you signed up? When I hit "sign-up" all that happened was an instant AJAX-y refresh of the page.


No confirmation. But less than a half-hour later got the invitation email...


Anyone have and idea what this will cost when out of beta?


Awesome! Already in line for the beta testing.


Already got a response. I'm in! Though I don't know what to do as I don't know any Ruby. Time to learn... "Hello, Heroku!" here I come!


Just got my invite and holy this is so much better than Ubuntu + vi + screen. How do you Mac+Textmate guys like it?


Anyone got an invite they can send me?


Big congrats!


This is freaking awesome!

Signed up for beta!


Very very very cool


kicks ass. Congrats guys!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: