i am fairly novice in RoR. Even i don't have clear idea of RoR. but i
am highly interested to learn RoR. i have some experience in php
(mostly windows environment). so far i understand, RoR is best with
linux. well, i have fedora 10 installed. php,mysql and apache2 is also
installed. i am able to browse a page http://localhost/test_script.php
in addition, in windows i use WAMP(Windows Apache MySql and PHP) which
is really easy and install in one shot. now i am looking for
equivalent of WAMP in fedora 10. i guess there are no tool in linux
like WAMP. so, if i get an step by step instruction of "How to install
RoR in Fedora 10" it shall feel lucky. please don't answer me to
googled. because i already do that and make confused myself. you guys
are expert. so please let me have the best link or guideline.
please note that, i am new in linux too. and i know where is the
terminal in fedora 10 and some basic knowledge of file structures.
in addition, in windows i use WAMP(Windows Apache MySql and PHP) which
is really easy and install in one shot. now i am looking for
equivalent of WAMP in fedora 10. i guess there are no tool in linux
like WAMP.
Have you ever heard of LAMP?
so, if i get an step by step instruction of "How to install RoR in
Fedora 10"
If you are lucky (you have choosen the development package
collection), it may already be installed. open a console and try to
enter 'rails', it may already be there.
Depending on what version of Fedora you use, there is a graphical
package management application similar to "Add/Remove Programs" in
windows (e.g. http://www.aravind.name/packagekit-fedora-9) use that
tool to add 'ruby' and 'rubygems' then on a console run 'gem install
rails'
If you want to start in 1 minute with one click on Windows use
InstantRails.
You can also update rails to the latest release after using that
installer.
That contains all you need, included webserver and db. One click.
I have the latest edition of AWDWR which is the 3rd edition, and it's
the book linked to previously. This is what it says about installing on
*Linux*:
Marnen Laibow-Koser wrote:
7stud -- wrote:
[...]
So I think the op needs to do 5 things:
1) install ruby
...which might already be installed
2) install sqlite3(preferred) or mysql
From what I can tell, sqlite is absolutely not "preferred".
Well, the rails developers switched the default database in rails from
mysql to sqlite3, so someone prefers it.
Although
I've never worked with it, I've seen a number of posts on this list that
suggest that sqlite is not powerful enough for real development, let
alone deployment.
Dave Thomas, Sam Ruby, and David Heinemeir Hansson(who created ruby on
rails) have written a highly acclaimed 700 page book on developing with
rails, AWDWR(3rd), and they use sqlite3 as the database for the whole
book, so I think beginners should be able to get by. Personally, I
would prefer to use mysql because that is what I'm familiar with, but I
don't anticipate having any problems using sqlite3. In any case, it's
easy enough to configure a rails app to use mysql or any other database.