Rails and Windows

Is Rails development really that hard on Windows? I'm a PHP developer looking to use Rails (mainly because every single PHP framework I tried has some quirk I just hate).

I downloaded Aptana Studio (with RadRails) as it seemed like a good solution (and because I love everything based on Eclipse). But in cases where problems arise - when creating a project (called "test" using sqlite3), the first problem I hit is the "sqlite3 missing" error. So I'm a little around Google and installing sqlite3-ruby with a gem. I still had some error, but I managed to fix it. So that seems to work, but is it? Some environment that almost doesn't work and has a lot of problems ( see This )?

In another question, I saw a suggestion to run a project in a virtual machine instead and edit it from Windows. It seems like a good idea - but the two main Rails IDEs (RadRails, NetBeans, if there are more) seem to want to run their own server on Windows. What would be the best setup for them / how could I create a project in them if I instead ran the Linux Rails stack on VM?

Please note that I would prefer not to work without an IDE - after I tried PHP, I immediately became completely addicted (sigh), and since I had never used Ruby (or Rails) before, it would be a serious help after the code was completed.

So what are your suggestions? Running on Windows or Windows and Linux on VM? Any other tips?

Thank!

+3
source share
12

InstantRails. 2 , .

3 , RoR Windows. InstantRails. Ruby One Click MySQL, . Rails, :

gem install rails

database.yml, , .

e NetBeans . , NetBeans .

, . , , e, Scite, Ruby, .

: , Agile Web Development - . Visual Studio, - . PDF, , , . , .

+3

: Agile Web Development with Rails , . Windows-, . , , . , IDE ..

+3
+3

Windows. Rails Windows 2,5 - . , , , Rails Solaris.

, Aptana RadRails . , . , RubyStack XAMPP. , MySQL DB sqlite3.

, , sqlite3 . - , . , (gem install xxx), . , IDE .

+3

, , ( Ruby Rails Rails) SQLite, , ! , Oracle !

FWIW, , Ruby /Rails. Windows ( Linux, ), , , Scite, Windows . , , , , , .

, "Ruby", . - IDE, , , , . ( IDE, , # Visual Studio).

+3

RadRails IDE WAMP, . . InstantRails .

, : Phusion Passenger, Rails . .

+2

, .

RoR Windows . Eclipse Aptana Aptana, Aptana git, (. ). Unix Linux, , Rails Windows , Unix/Linux .

, , Windows.

  • , () , Windows, . , , hpricot. "gem upgrade" , . Visual ++ 6 MinGW ( Ruby MinGW, ). - VC6, , , , . , .

  • Git Git Windows , . Rails/Ruby Git, .

2 - , Linux dev, VirtualBox . Unix/Linux, . Linux, , , .

+2

, , InstantRails BitNami RubyStack - , InstantRails.

+2

, , . , : , Mac! , VMWare Fusion Parallels ( , Parallels ), Mac - Windows.

Visual Studio Mac ( ), - . , , Mac Intel, Mac Dell ( ... ).

Mac OS X Unix. Ruby (TextMate - ).

, , Mac - : Windows, Mac OS X Unix.

+1

Aptana Studio RadRails . , , ( ) IDE WebRick, . , , . , . .

MySQL PostgreSQL Windows XP. SQLLite ... MySQL.

Netbeans.

0

, . , .. ..

VMWare + Linux, . , , linux netbeans IDE. .

InstantRails . , , Linux.

0

I think Aptana Studio is a good environment for RoR. At startup, it provides options for downloading and installing the necessary gems, such as sqlite, etc. You can run ruby ​​commands in the console window or run the mongrel server, debug, view browser data and do whatever you want. I am using Aptana Studio on Windows with mysql stone and my own Mongrel server. It works great.

0
source

Source: https://habr.com/ru/post/1699578/


All Articles