by jrbeal on 7/14/13, 7:40 PM with 52 comments
by jrbeal on 7/14/13, 8:21 PM
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...
by losvedir on 7/14/13, 9:19 PM
But we have had success on both OS X and Linux machines.
The trick is to 1) install rbenv or rvm, 2) build the right version of ruby, 3) install the right gems, 4) make sure your PATH is set up properly.
The rails consultancy thoughtbot has a script you can run to just magically set up a new laptop for rails development. I don't do this (too magical, and too little control), but I usually pull up the script[1] just to remind myself of what things I need to attend to and install.
Feel free to hit me up at my email address in my profile if you're stumped on something. I've probably seen most issues by now...
by charlesju on 7/14/13, 8:23 PM
Good luck :)
by chrismealy on 7/14/13, 9:00 PM
by adamzerner on 7/14/13, 8:21 PM
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!
by awongh on 7/14/13, 9:39 PM
there are a bunch of github projects that you can get that has everything to setup a VDI- this one seems popular: https://github.com/amaia/rails-starter-box
there's also a railscast about it: http://railscasts.com/episodes/292-virtual-machines-with-vag...
by cpursley on 7/14/13, 8:51 PM
Really, check it out if you're having difficulty getting your environment set up. Here's a link to get started https://www.nitrous.io/join/BiSdgSxLjIk (full disclosure: it's a referral link that will get me No2 credits).
And when you're ready to deploy, just use Heroku. Good luck and keep at it!
by dreyfiz on 7/14/13, 8:27 PM
2. Here's a volunteer hotline to call for help: http://rails.pockethotline.com/
by w1ntermute on 7/14/13, 8:07 PM
by benigeri on 7/14/13, 7:59 PM
I also had a lot of initial difficulty setting up my environments, but I've gotten a lot better at it now.
If you'd like, send me an email benigeri@stanford.edu and I can try to help you and point you to good resources. It's a little hard to suggest anything right now since I don't have any context.
So send me an email and I'll try to help you as much as I can, pro-bono.
by gtani on 7/14/13, 9:10 PM
https://github.com/rails-oceania/roro/wiki/Available-mentors
http://www.reddit.com/r/rails/
http://installfest.railsbridge.org/installfest/ (Railsbridge is a fantastic organization, if you emailed i bet they would help
I've been going thru same thing, my MBP hard drive died, so i installed RVM, bundler, and rails 3.2 on a couple ubuntu 12.04 laptops while i'm waiting for my Snow leopard install DVD. The key insight is to write down every step if you have to back out. And read 2 or 3 blogs and see what they agree on before starting install. These are good for 12.04
http://excid3.com/blog/setting-up-ubuntu-12-04-with-ruby-1-9...
http://footyntech.wordpress.com/2012/09/19/installing-ruby-r...
by eccp on 7/14/13, 9:13 PM
Installing a nice Ubuntu 13.04 desktop is not complex, there a video which explains installing Virtualbox and Ubuntu under ten minutes: http://www.youtube.com/watch?v=0WiiswmOH1Q ... note that a desktop is not required but given your background you would feel more comfortable having a desktop, graphical text editor (eg. gEdit or Sublime Text) and one or more terminals to run the commands.
Another option would be to install Cygwin, an Unix-like environment for Windows: http://www.youtube.com/watch?v=WRB9t2tSsjY and continue the tutorial from there.
Honestly, I think that if you have sysadmin skills, it's likely you'll have some Unix exposure, and if you don't have yet, learning Ubuntu and Linux will be a benefit on the long run.
by titlex on 7/14/13, 7:49 PM
by kot-behemoth on 7/15/13, 11:42 AM
However, I'm just starting to work on a webapp for a client (learning from scratch, this is my first big project in Rails), and I was wondering which version to start with. Since I'm starting with no pre-existing codebase, it's very tempting to go with Rails 4.0 as opposed to 3.2, but I'm afraid not all essential gems support it yet. Also, there probably isn't as much information for bugs and problems etc.
Any advice would be greatly appreciated!
by benackles on 7/14/13, 7:57 PM
http://ruby.railstutorial.org/help
If you don't find your answer from either the debugging tips or a Google search, try writing your question on StackOverflow. Most of the issues you face are probably solvable by knowing what line of your error to search for.
by tjbiddle on 7/14/13, 10:16 PM
Best of luck!
by rfelix2121 on 7/14/13, 9:24 PM
by gverri on 7/14/13, 8:11 PM
RVM is the nÂș1 source of problem in Ruby envs.
by zengr on 7/14/13, 7:57 PM
PS: I have not used thinkful before.
by mcx on 7/14/13, 9:19 PM
by shail on 7/14/13, 7:52 PM
I guess you would not have to pay to get directions. One-on-one help might need payment.
by groundCode on 7/14/13, 7:56 PM
by gary4gar on 7/14/13, 8:26 PM
by troels on 7/14/13, 9:06 PM
by heldrida on 7/14/13, 8:21 PM
by woah on 7/14/13, 9:19 PM