Permalink
Browse files

Making the README file more useful. Adding ruby-debug to the mix

  • Loading branch information...
1 parent 27d2b11 commit 2fa78f3994f4714d271a72982402265e08126646 @akitaonrails akitaonrails committed with Jan 8, 2011
Showing with 25 additions and 3 deletions.
  1. +8 −2 Gemfile
  2. +17 −1 README.textile
View
@@ -4,7 +4,7 @@ gem 'rails', '3.0.3'
gem 'sqlite3-ruby', :require => 'sqlite3'
-gem "rails_admin", :git => 'git://github.com/sferik/rails_admin.git'
+gem "rails_admin", :git => 'https://github.com/sferik/rails_admin.git'
gem "haml-rails", ">= 0.2"
gem "inherited_resources", ">=1.1.2"
gem "will_paginate", ">=3.0.pre2"
@@ -20,7 +20,7 @@ gem "inploy", ">=1.6.8"
group :development do
gem "autotest"
gem "autotest-notification"
- gem "rails3-generators", :git => "git://github.com/indirect/rails3-generators.git"
+ gem "rails3-generators", :git => "https://github.com/indirect/rails3-generators.git"
gem "metric_fu", ">=1.5.1"
end
@@ -29,6 +29,12 @@ group :development, :test do
gem "factory_girl_rails"
gem "rspec-rails", ">=2.0.1"
gem "evergreen", :require => "evergreen/rails"
+ platforms :mri_18 do
+ gem "ruby-debug"
+ end
+ platforms :mri_19 do
+ gem "ruby-debug19", :require => 'ruby-debug'
+ end
end
group :test do
View
@@ -1 +1,17 @@
-<pre><code>rails new app_name -T -m https://github.com/dcrec1/rails3_template/raw/master/main.rb</code></pre>
+Read the "Gemfile":blob/master/Gemfile to understand everything this template installs and pre-configures for you.
+
+One of gems, "Johnson":http://rubygems.org/gems/johnson, still has some issues compiling under Ruby 1.9.2 so you will need to use Ruby 1.8.7 instead.
+
+This template is heavily dependent on wget so, if you're using a Mac, you will need to install it first. The recommended way is to install "Homebrew":https://github.com/mxcl/homebrew first and then:
+
+<pre><code>brew install wget</code></pre>
+
+Since Github started forcing SSL in all its URLs, we need to download the template file separately:
+
+<pre><code>wget --no-check-certificate https://github.com/dcrec1/rails3_template/raw/master/main.rb -O /tmp/rails3_template.rb</pre></code>
+
+Then whenever you want to create a new project, just do:
+
+<pre><code>rails new app_name -T -m /tmp/rails3_template.rb</code></pre>
+
+Change <tt>app_name</tt> for your project name. You can configure what you need and run <tt>rake db:migrate</tt> to get started.

0 comments on commit 2fa78f3

Please sign in to comment.