Hello people, I have written a book on Ruby programming language. Download it from here is.gd - Shortened URL
Hey Thank you .... i downloaded it just now.
Hey Thanks.
+1 for Balaraju for learning (context is out there in another thread).
Try to spot mistakes in it!! And if you can give me a feedback.
Karthikeyan A k wrote in post #1073093:
Try to spot mistakes in it!! And if you can give me a feedback.
161 page, the first paragraph but when I gave ilr to them
What is "ilr" ?
OK, its the short form of I Love Ruby.
Too many spelling and grammatical errors, use of SMS lingo, usage of culturally and geographically local references which may/will not be understood by the global population.
Your effort is commendable, I appreciate the time and effort you put in to write a book. I know writing a book is not trivial to accomplish, but your book sucks.
Dheeraj Kumar
Thanks, don't read it then.
Dheeraj Kumar wrote in post #1073453:
At a first glace, it seems to be very well thought out, and I look forward to digging in deeper. Thank you for taking the time to share with us.
Jason
I love Shriya Saran.
Thanks for the book.
/OD
@demirkapi
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 install
Ruby 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
Hi 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 Kumar
You can try NetBeans, but I’d suggest you NOT to use an IDE. Using an IDE with Ruby does not massively boost your productivity unlike other languages like Java or .NET (Visual Studio is probably one of the best IDEs I’ve ever used)
In fact, I found that I work much faster with the terminal and an awesome text editor like TextMate for Mac or Sublime Text 2 for Windows/Linux/Mac.
Most Ruby on Rails developers start with Agile Web Development with Rails - http://pragprog.com/book/rails4/agile-web-development-with-rails and/or http://ruby.railstutorial.org/
For ruby, there’s the Pickaxe book - http://pragprog.com/book/ruby3/programming-ruby-1-9
Most of us just list the gem we want in our Gemfile, and run the bundle
command to install the gems we need for the app. Rails encourages you to get down and dirty with development, testing and deployment of your app, so GUIs, management consoles like Cpanel, etc are largely not favored by the community.
These are just my views and experiences with the Rails ecosystem. YMMV
Dheeraj Kumar
hi dheeraj, i m also having same problem but can you tell me it is a good idea to learn ruby side by side while learning rails and what this article means about rails4 => http://blog.phusion.nl/2012/08/03/why-rails-4-live-streaming-is-a-big-deal
can we make real time web app in rails 4 => http://www.youtube.com/watch?v=g3O1PgvUzpo
thanks in advance
If you /must/ use windows then I gather that railsinstaller.org may be the easiest way to do it. Much better to use linux (I use Ubuntu). You can run that in a virtual machine on windows if you want, or dual boot the pc with win and ubuntu. Do use rvm to manage ruby and gems if you are on Linux or Mac.
As others have said most don't bother with an IDE, just use a decent editor (I use jEdit) with ruby syntax plugin and the console. You will find yourself doing very little true debugging in Rails and most books and tutorials will use the console. railstutorial.org is good and is free to use online.
Colin
Rails Ready https://github.com/joshfng/railsready on Ubuntu will give you everything you need to get started
Jason
I have not met that one, it seems as if it may be more geared towards a production server than development. I believe most would not use passenger, nginx or apache on development machines.
This one looks like a reasonable alternative tutorial for installing
Colin
Railsready can be used for any environment. The only thing it installs that is not usually used for a development environment is Passenger. Railsready is great because it simplifies the task of installing dependencies. I’ve done it manually, and this is so much more fun
Dheeraj Kumar
@Aniket Kadam:
Once you start with Rails, you’ll find that you pick up Ruby automatically. However, at some point along the way, you’ll find that investing some time into properly learning Ruby, using books like The Pickaxe Book and Metaprogramming Ruby. They make your life /much/ easier.
Yes, Rails4 does support live streaming. If you have a question about it, I suggest you start a new thread, so that this thread can continue about new developers and the problems they face.
Dheeraj Kumar