A Ruby Book (free to use)

Hello people, I have written a book on Ruby programming language.
Download it from here http://is.gd/r2012

Hey Thank you … i downloaded it just now.

Try to spot mistakes in it!! And if you can give me a feedback.

+1 for Balaraju for learning (context is out there in another thread).

2012/8/27 Balaraju V. [email protected]

[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Pagarbiai,
Gintautas

OK, its the short form of I Love Ruby.

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” ?

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 K.

Thanks, don’t read it then.

Dheeraj K. wrote in post #1073453:

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 K.

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. :slight_smile:

Thanks for the book.

/OD
@demirkapi

Hello all,
For some reason, Ruby on Rails is one of the hardest programming
languages that Ive 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. Id now like to work with Ruby on Rails.
I do have a dedicated server and I can install gems from the
cpanel. I dont 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 dont 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.

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 K.

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 D. with
Rails - Search
and/or http://ruby.railstutorial.org/

For ruby, there’s the Pickaxe book -

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
:slight_smile:

Dheeraj K.

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 =>

can we make real time web app in rails 4 =>

thanks in advance

On 27 August 2012 16:07, Bruce W. [email protected] wrote:

at the part where I create the first app and then try the Webbrick server.
I can work with Ruby. Id now like to work with Ruby on Rails.
I do have a dedicated server and I can install gems from the cpanel.
I dont 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
dont have a mac yet.

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

On Mon, Aug 27, 2012 at 11:37 AM, Colin L. [email protected]
wrote:

Ruby on Rails for Eclipse. I also have NetBeans. Can someone recommend
to
boot the pc with win and ubuntu. Do use rvm to manage ruby and gems

You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Rails Ready https://github.com/joshfng/railsready on Ubuntu will give you
everything you need to get started

Jason

On 27 August 2012 16:17, Dheeraj K. [email protected]
wrote:

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.

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

@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 :slight_smile:

Dheeraj K.

@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 K.

skimming through the book - your section at the end where you show a
proof
that 1 = 2… absurd from what I can see…

on line 3 you say:

1 - 1 = (1 + 1)(1-1)
and evalueat it to:

1-1/1-1 = 1 + 1…

how can you come up with that?
as far as I can tell it evaluates to:
1-1 = 2 * 0
0 = 0

??? so all the rest of you “logic” is wrong.