Ruby on Rails
Saturday, September 1, 2012
Dheeraj,
And others... I am now convinced to use Linux/Ubuntu in my VirtualBox installation. I followed the tutorial that was posted earlier. Colin, on this list, recommended this posting:
I'll have to lookup that link and try to find it again. I did everything in the tutorial, got all the way to the bottom... where it says "Now you can see your installation of test_app and there is a smiley face. I try that very last step, where everything above it worked fine and so I go to my browser, enter http;//localhost:3000
There might have been a directory, I'll have to dig up that tutorial link. Whatever it said for where to go in the browser is where I went. It says "Cannot display page..."
Not found... etc.
Now in the course I took online at Lynda.com, called "Up and Running with Linux for PHP Developers." The location where we would be installing software is giving me an error saying I don't have permission to use that directory. It is /media/sf_sandbox/
I did try the sudo command in front of cd to go to that directory and it said it didn't recognize sudo cd. It is both embarrassing and very frustrating that it continues to take me so long to get this working. After all this time, I STILL don't have a rails install that I can browse to. I've never ever had this kind of problem with anything, any programming language or language environment.
Thanks,
Bruce
From: Dheeraj Kumar
Sent: Tuesday, August 28, 2012 2:14 AM
Subject: Re: [Rails] Help getting started: Newbie: Windows and Rails
Like I said, most ruby/rails developers do not use an IDE, as it isn't necessary at all. When you start working with the console, you'll be much faster and more efficient than you will with an IDE.
Install ubuntu on a virtualbox, run RailsReady (make sure you select to install with RVM, when RailsReady asks you) and you're good to go. It shouldn't take you more than 45 minutes from opening virtual box to starting to work on rails with everything installed.
If you are not good at using the terminal, you will improve when you start using it. If text flies by, scroll up to read it. If its unreadable, increase your font size. Copying is usually Control+Shift+C, at least in the ubuntu terminal. Select text with your mouse and you can even right click and click copy.
Getting support on Windows is a really hard thing, and it's like trying to fit a car engine in a motorbike, so why not go native on Linux?
Dheeraj Kumar
On Tuesday 28 August 2012 at 6:45 AM, Bruce Whealton wrote:
--Hello,Thanks for your feedback. I guess I will have to share with you the problem I am having with Linux installations too. Anyway, I am taking a course on Lynda.com for learning and the instructor doesn't go into Linux for some reason. He discusses Ruby on Rails for Mac and Windows. There is a course also on Ruby which ran fine on Windows.I have used various PHP frameworks, like Zend, Cakephp, Synphony.Getting back to the course, unfortunately, he doesn't cover any IDE for doing development with Ruby On Rails. That's why I was looking for suggestions for a development tool, IDE, that is free. Aptana, Netbeans, Eclipse, RadRails?I have VirtualBox and can use that. However, first I want to say that I would like to be able to follow the course material that does use Windows (also Mac OS X, which I don't have). Again, strangely as it seems, it is the hardest, most frustrating effort to get started with Ruby on Rails among all the language stacks (other stacks, I guess were the php stacks), and languages I've used. On Windows, I ran into problems with both installing the rails project on my xampp area and using the WebBrick server. Then I tried using Linux Ubuntu Server 12.04 and ran into problems when I tried various online tutorials for how to install and get up and running with Ruby on Rails for Linux Ubuntu server. Someone on this list did send me a link to yet another tutorial for Linux.I suppose I am not so great at using terminal command line apps (like Putty for windows) as the text often flies by and it's hard to read. Plus, I'm not clear how to copy the text when it displays errors during a process to be able to share them on a list and ask what is going wrong?It's not a matter of not understanding the concept of the framework, it's the fact that it isn't working in any environment, using an IDE or no IDE, or etc.This is far and above the most difficult language and framework that I've ever encountered. I've never before spent day after day just to get a language or language stack setup and to have a application created and to be able to go to a website and see it. There are many conceptual things I need to learn about the php language stacks but at least in the first sitting, within a couple hours if not much, much sooner, I had an MVC application installed and I could browse to it.thanks,BruceFrom: Dheeraj KumarSent: Monday, August 27, 2012 11:17 AMSubject: Re: [Rails] Help getting started: Newbie: Windows and RailsHi Bruce,I can understand the problems you're going through, as I've faced them myself. They stem from some misconceptions about the language & the framework.Getting started with rails is probably the easiest thing to do out of all the language stacks available. If you're using OSX or Linux, use https://github.com/joshfng/railsready on a fresh install of your OS, and you're set.Remember that developing rails on Windows is not that easy, since Ruby runs best on *nix environments like OSX or Linux. On Windows, Ruby runs on an emulation layer like Cygwin, which should probably work 90% of the time, but it's largely unsupported by the rails community.Dheeraj KumarOn Monday 27 August 2012 at 8:37 PM, Bruce Whealton wrote:
--Hello all,For some reason, Ruby on Rails is one of the hardest programming languages that I've ever tried to get up and running with it. I have used python, perl, php, java, javascript, etc.Can someone recommend a good IDE that is free – at this point I need that – Please. I have both RadRails, which often gets described as an Eclipse Plugin – maybe I should instead just start with Eclipse and installRuby on Rails for Eclipse. I also have NetBeans. Can someone recommend an IDE for Windows. (and separately if it works in Linux).I took a course on Lynda.com on Ruby and then on Ruby on Rails and got stuck at the part where I create the first app and then try the Webbrick server.I can work with Ruby. I'd now like to work with Ruby on Rails.I do have a dedicated server and I can install gems from the cpanel. I don't know how that is at learning Rails. For example, are there ways to create a ruby on rails application from the cpanel?While I am trying to get started with Linux, I would like to be able to do this in Windows. The course I am taking is using Windows or Mac. I don't have a mac yet.Thanks,Bruce--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment