Live data from Hacker News

Help with Rails?

news.ycombinator.com

11–20 of 54 posts

Re: Help with Rails?

#11

Why do you need a Linux VDI? Test locally with the Rails server, then deploy to Heroku.

So.. You're half right IMHO!

A linux desktop is entirely unnecessary. But so is Heroku.

This "just deploy to Heroku" mentality is really starting to get on my nerves.

Heroku is a great product that solves real problems for a certain class of project (and user). It is not, in any way, shape or form, the solution to every problem. Stop telling people it is.

Re: Help with Rails?

#12
Wow! My son was right! This site is awesome! Thanks SO much everyone! Good question wintermute. I wanted a Linux development environment but only have Windows at home. I was thinking about buying another box just for this purpose and load native Linux thinking this would be less ghetto but I don't know...

Thanks for the offer benigeri! I'll hit you up later...

thinkful.com sounds like a great resource.

shail: There were way too many problems to list here. Basically, the pattern I was falling into was as follows: I'd start a new project, start setting everything up, run into problems, fix them, run into more problems, fix them, etc... I'd have problems with everything from running bundle successfully, to deploying successfully. Then I'd get to the point where nothing would work and I'd eventually start over. Very frustrating.

The suggestions here are giving me hope and renewed enthusiasm. I'll check back later...

Re: Help with Rails?

#13
I started learning Rails this summer too! Chapter 1 (the set up) was very annoying, like he warns. StackOverflow is great though! People often answer your questions within minutes (if you word them well and put thought into them). That's the best advice I've got for chapter 1. It's something that is going to be annoying.

I'd recommend going through his tutorial rather briefly first. Like a skim. Then read through http://guides.rubyonrails.org/. Then go through is tutorial one more time. Then try building your website, while using Railscasts and StackOverflow for help.

See http://fast-reaches-9399.herokuapp.com/how-to-learn-to-progr... for more information. Good luck!

Re: Help with Rails?

#14
1. Use Heroku or Engine Yard 2. Start with a hello world and build from there one feature at a time 3. When you get stuck, use Stack Overflow or other Ruby on Rails forums for help as opposed to HN, we're not a terribly good source.

Good luck :)

Re: Help with Rails?

#16
post #9

My tip: DON'T USE RVM. (rbenv is a good alternative) RVM is the nº1 source of problem in Ruby envs.

RVM is not that terrible. If your biggest difficulty in Ruby or Rails is RVM, you haven't been around long.

The cause of problems for beginners is quite simply "change". Rails has been through a few major revisions now, and the jump from 2 to 3 dropped a lot of people (even though 3.1.x+ has been fine), and I doubt many will drop again from 3 to 4, even though there are some big changes. The problem is that with all of the changes comes a bunch of now inaccurate information that no one will update that is found easily, some with high point rankings in S.O.

The more important problem to fix though is leadership. DHH has done a great job, but either he or someone else needs to be more vocal as a single voice leading Rails. It is led by committee currently, and it shows in the lack of vision. However, despite its problems, I'm in it for the long haul. I like it a lot better than everything else.

Re: Help with Rails?

#18

Why do you need a Linux VDI? Test locally with the Rails server, then deploy to Heroku.

So.. You're half right IMHO! A linux desktop is entirely unnecessary. But so is Heroku. This "just deploy to Heroku" mentality is really starting to get on my nerves. Heroku is a great product that solves real problems for a certain class of project (and user). It is not, in any way, shape or form, the solution to every problem. Stop telling people it is.

you can't argue with their free tier.

if you need to get a rails app hosted NOW, it's as simple as

    heroku create appname
    git push heroku master

Re: Help with Rails?

#19

Why do you need a Linux VDI? Test locally with the Rails server, then deploy to Heroku.

So.. You're half right IMHO! A linux desktop is entirely unnecessary. But so is Heroku. This "just deploy to Heroku" mentality is really starting to get on my nerves. Heroku is a great product that solves real problems for a certain class of project (and user). It is not, in any way, shape or form, the solution to every problem. Stop telling people it is.

Deploying someone's first RoR project seems like exactly the class of project and user that Heroku is a good fit for.

Re: Help with Rails?

#20
post #9

My tip: DON'T USE RVM. (rbenv is a good alternative) RVM is the nº1 source of problem in Ruby envs.

Seeing that rbenv's install procedure is slightly longer than RVM, I wouldn't suggest it for beginners.
Post reply on HN