<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I don''t know what do you mean by
"and the architecture" but I
can'' tell you which gem''s we add almost by default to all
the
projects... our basic gemfile look like this:<br>
<font color="#666666"><br>
</font><font color="#666666">gem
''pg'', ''0.9.0''
#Our default
database<br>
gem ''hflr'',
''1.0.1''
#splitting files<br>
gem ''will_paginate'', ''>=
3.0.pre'' #pagination<br>
gem ''delayed_job'',
''2.1.4''
#backround jobs<br>
gem ''jquery-rails''
#jquery instead of
prototype (solved in rails 3.1) <br>
<br>
#security<br>
gem ''devise''<br>
gem ''devise_cas_authenticatable''<br>
gem ''cancan'', ''>=
1.6.5''<br>
<br>
group :development do<br>
gem ''annotate'',
''>=2.4.0''
#team request<br>
end<br>
<br>
group :development, :test do<br>
gem
''rails_code_qa'' #testing
(includes rcov)<br>
end</font><br>
<br>
<br>
Considerations for our projects /
architecture:<br>
- We develop and deploy in all platforms...
the most problematic
is windows.<br>
- We don''t have a clear path how to
connect different rails
projects (working on it)<br>
<br>
And about the steps... If I was to start from
zero... it will
be:<br>
1. rails new project<br>
2. create/init GIT repository<br>
3. change gemfile to standard<br>
4. copy
"config\environments\production.rb" to
"config\environments\pre_production.rb" (ideally should be the
same
as production.... but we have some different like links to other
servers, that also need to be pre-production)<br>
5. correct the
"config\database.yml"<br>
6. copy "config\database.yml" to
"config\database.yml.example"<br>
7. exclude from git
"config\database.yml", "log" folder and
"tmp" folder<br>
8. setup the databases<br>
9. bundle install<br>
10. GIT commit and deploy on the integration
server<br>
<br>
I have omitted some steep like setup de
device, cancan and
cas... but that really depends on each project/organization<br>
<br>
I hope it will help you.<br>
<br>
<br>
El 19/07/2011 11:55, Manoj Sachwani escribió:
<blockquote
cite="mid:077b9983-8388-48c5-8313-a17383c9a2f7-F71naYTfMJw2swWmpKVAvmB/v6IoIuQBVpNB7YpNyf8@public.gmane.org"
type="cite">
<pre wrap="">Just wondering,
What are the basic gems that you guys use and the architecture (code
base and otherwise) do you guys follow when starting a new Rails
project?
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Miquel Cubel Escarré
+34 699 73 22 46
<a class="moz-txt-link-abbreviated"
href="mailto:mcubel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">mcubel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>
"Computers are good at following instructions, but not at reading your
mind." Donald Knuth.
"Los ordenadores son buenos siguiendo instrucciones, pero no leyendo tu
mente." Donald Knuth.</pre>
</body>
</html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.<br />
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org<br />
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org<br
/>
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.<br />