noob questinon: is dev in rails underwindows a good idea

Hey guys, thx for talking your time to answer this post, i much
appreciate it.

1. is dev in rails under windows a great idea.i can think of 10000
reasons, i know, bu i can;t install linux on my PC, for now at least.
the compamy that i am working for wants me to install all of the
programs i need to develop a free lancer site, like this one
http://www.bestjobs.ro/(if u look at the right upper corner, you'll
see a language selection bar)
So the question is : Can i develop somethig similar without any
problems of all kind, but especially security reasons, in rails under
windows??

2.when i go in my app folder and type in the cmd the commnad ruby
script/server, Webrick starts, but when i type the adress of the app
server http://0.0.0.0.3000 Firefox gives an error saying that
THE CONNECTION TO THE SERVER WAS REINITIALIZED WHILE THE PAGE LOADED

Any ideas??

thx a million times in advance,
radu

OK, Let me try to answer your question.

Hey guys, thx for talking your time to answer this post, i much

appreciate it.

  1. is dev in rails under windows a great idea.i can think of 10000

reasons, i know, bu i can;t install linux on my PC, for now at least.

the compamy that i am working for wants me to install all of the

programs i need to develop a free lancer site, like this one

http://www.bestjobs.ro/(if u look at the right upper corner, you’ll

see a language selection bar)

So the question is : Can i develop somethig similar without any

problems of all kind, but especially security reasons, in rails under

windows??

Yes, it is possible to develop rails applications under Windows system.
And I’m doing it in this way on my PC.(Although I also have a MBP and I feel even more grate to work on Mac…)

2.when i go in my app folder and type in the cmd the commnad ruby

script/server, Webrick starts, but when i type the adress of the app

server http://0.0.0.0.3000 Firefox gives an error saying that

THE CONNECTION TO THE SERVER WAS REINITIALIZED WHILE THE PAGE LOADED

Well you try the URL http://0.0.0.0:3000 or maybe http://localhost:3000

Maybe you need to check your browser proxy setting to bypass the localhost address with proxy.

thx so much for your answer! however i have some difficulties with
each of your answers :

OK, Let me try to answer your question.

> Hey guys, thx for talking your time to answer this post, i much
> appreciate it.

> 1. is dev in rails under windows a great idea.i can think of 10000
> reasons, i know, bu i can;t install linux on my PC, for now at least.
> the compamy that i am working for wants me to install all of the
> programs i need to develop a free lancer site, like this one
>http://www.bestjobs.ro/(if<http://www.bestjobs.ro/(if> u look at the
> right upper corner, you'll
> see a language selection bar)
> So the question is : Can i develop somethig similar without any
> problems of all kind, but especially security reasons, in rails under
> windows??

Yes, it is possible to develop rails applications under Windows system.
And I'm doing it in this way on my PC.(Although I also have a MBP and I feel
even more grate to work on Mac...)

the problem that concers me is IF IT;S WISE

thx so much for your answer!
But i think u got mw wrong on the first question. I meant :

IS IT A GOOD IDEA to develop a rails project under windos, when i
could be using linux??
2. can it be done without any limitations forced by the windows OS ??

1.I'm asking IF IT IS A GOOD IDEA to develop a rails project under
windos, when i could be using linux.
2. can it be done without any limitations forced by the windows OS

There is nothing technical to stop you developing Rails sites under Windows, I would never do this by choice but it is just that. Choice.

However I would never deploy to a Windows production server. I don’t trust Windows as a server environment but this is partly because I lack the skills and knowledge. Having said that getting Rails advice for deployment on Linux / OSX is pretty easy as it is the common choice, getting the same advice for Windows could be harder as there are fewer Rails people working in that environment.

But for development of Rails sites Windows will do the job.

Hi Peter, thx so so much for your kind and rapid advice. And i hate
windows from the bottom of my heart too, and love the Mac, but i am
constrainted to develop under windows, for now.

If your desktop OS *has* to be Windows, then just install Virtualbox
or VMWare and a virtual machine running Ubuntu or similar.

radu puspana wrote:

Hi Peter, thx so so much for your kind and rapid advice. And i hate
windows from the bottom of my heart too, and love the Mac, but i am
constrainted to develop under windows, for now.

If you are truly constrained by your employer to develop the application
under Windows, then the personal opinion you state is irrelevant... and
asking an opinion poll is not solving your dilemma. If you are
constrained to Windows, then accept it, and do the best job possible.

Your question should be "I need to develop a rails application under
Windows. Are there any potential pitfalls or issues I need to be aware
of working in this operating system?"

There are numerous resources available on the web about working in Rails
under Windows...

If you intend to become a developer you will need broad shoulders, you will have to work with tools that you do not like in environments you would not choose.

“An accounting system in Basic on VMS”

“Update a COBOL system on a Bull mainframe”

“Integrate with an erlang system talking to MSSQL Server”

“A web site written in PHP”

“Update this Classic ASP site to ASP.NET

“Visual Basic!!!”

As a developer you roll your sleeves up, shrug and do your best. Show them your skills which will earn their respect. There is more maintenance work to be done than green field work.

Plumbers have to wade through human excrement to fix the plumbing, chamber maids have to clean up vomit encrusted hotel rooms. They don’t want to, they wouldn’t choose to but they are professionals. They do their best and take pride in doing a good job.

You have to use Windows.

I’ll sign off before I swear at you for your infantile attitude.

Peter Hickman wrote:

If you intend to become a developer you will need broad shoulders, you
will
have to work with tools that you do not like in environments you would
not
choose.

"An accounting system in Basic on VMS"
"Update a COBOL system on a Bull mainframe"
"Integrate with an erlang system talking to MSSQL Server"
"A web site written in PHP"
"Update this Classic ASP site to ASP.NET"
"Visual Basic!!!"

No, not at all. It is perfectly reasonable to to question your client's
requirements if they're causing problems, or to refuse a job if you
don't like the tools being used.

[...]

You have to use Windows.

That is not clear. (And if it is the case, it's a bad requirement. If
I were in the OP's shoes, I'd complain loudly or simply refuse.)

I'll sign off before I swear at you for your infantile attitude.

Personal attacks and name-calling have no place on this list.

Best,

My message was in response to this from the OP

“i hate windows from the bottom of my heart too, and love the Mac”

Quite frankly it is this type of attitude that gets developers a bad name.

ZOMG you have to use windows!!!11!!one!!

The horror.

Although I have never been a plumber I have been a cleaner (and a fish monger and a baker) and I can tell you that being paid well above the average to sit at a computer with access to the internet and unlimited coffee IS NOTHING TO WHINE ABOUT!

Great software has been written by people using Windows. Importantly great software is written by people who don’t whine about trivial issues.

I hate rapists, murderers and pedophiles, the OP hates Windows. It’s called perspective. Hating Windows is like hating broccoli.

If the OP is going to become a good developer (and why wouldn’t they want to be) then they are going to have to get over this narrow minded thinking.

Can you please quote when you reply.
We know what your reply to the OP was - we read it; but we don't know
what context this message is in.

Many thanks.

Sorry, one last thing.

Yes a developer should question the client’s requirements, but to do that you need to earn their respect.

I can do COBOL so if I say that it would be better to implement things in a different way the client will consider it because they know that I know what I am talking about.

But if I am just wanting to do things differently because language / technology X is not my favourite toy then the client will have no respect for me. Or if I am insisting that it can only be implemented with language / technology X simple because that is all I know the client will also have no respect for me.

To earn respect you need to prove that you know what you are talking about, you need to show your skills. That means learning OSs, languages and technologies that you have no love for. Not merely learning enough to get by but mastering them. I have no love for Java, Cocoon, IIS, MSQLServer or Windows. But guess what! If that is what needs to be done I’m your man.

Think of it like this, you ask the question “I have to set up a development environment for Rails on Windows. What advice can you give me?” Which answer do you think would make you respect the person you were talking to?

  1. Ugh. Windows SUX. I hate it. You should get a Mac.

  2. Well you could install Eclipse, there are some nice tools for Rails development. Here’s a version of MySQL that integrates well with Windows, you should install that. Or perhaps you could try the Instant Rails package and Notepad++ if you don’t like Eclipse. Or perhaps Netbeans would suit you better.

To give answer two and to earn respect you need skill, which means experience.

Sorry, one last thing.

Without relevant quotations, these posts are just ramblings better
suited to a blog of your own. It doesn't help that they're off topic
of the thread (even though I'd broadly agree with the sentiment).

Think of it like this, you ask the question "I have to set up a development environment for Rails on Windows. What advice can you give me?" Which answer do you think would make you respect the person you were talking to?

3) Rails is really *best* on a *nix environment, as the vast majority
of tools work best there (and a large proportion work solely there).
Tell me more about the requirements/presumptions/constraints that lead
you to believe you *have* to use Windows, and we can figure out if any
of them are really the show-stoppers you feel they appear at first
glance; because my professional recommendation is that you try to
avoid Windows for development of Rails projects if at all possible.

That means learning OSs, languages and technologies that you have no love for.

Please don't tell me what I *have* to do. I certainly don't *have* to
do or work with things I have no love for. I'm perfectly capable of
turning down requests for work if they don't fit with what I prefer
(whether that's the technology in use, or the ethics of the company
the work is for).

I have no love for <some technologies>. But ... I'm your man.

No you're not. If I need one of those technologies, my man is someone
who loves them.