Skip to content

Commit

Permalink
update to use Rails 3 release candidate and Devise 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuity committed Jul 26, 2010
1 parent c67be3f commit 99e35be
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
db/*.sqlite3
log/*.log
tmp/**/*
Gemfile.lock
.DS_Store
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
source 'http://rubygems.org'

gem 'rails', '3.0.0.beta4'
gem 'rails', '3.0.0.rc'
gem 'mongoid', '2.0.0.beta11'
gem 'bson_ext', '1.0.4'
gem 'devise', '1.1.rc2'
gem 'devise', '1.1.0'
# uncomment if you wish to deploy to Heroku
# gem 'heroku', '1.9.10'
# gem 'heroku', '1.9.12'
8 changes: 4 additions & 4 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ No testing (RSpec or otherwise) is implemented. Devise and Mongoid have their ow

h2. Dependencies

This app is based on Rails 3 beta 4, Mongoid 2 beta 11, and Devise 1.1.rc2.
This app is based on Rails 3, Mongoid 2 beta 11, and Devise 1.1.0.

Before running this app, you need to install

* The Ruby language (version 1.8.7 or 1.9.2)
* Rails (version 3 beta 4 or newer)
* Rails (version 3 release candidate or newer)
* A working installation of "MongoDB":http://www.mongodb.org/

I recommend installing rvm, the "Ruby Version Manager":http://rvm.beginrescueend.com/, to manage multiple versions of Rails if you have a mix of Rails 3 and Rails 2 applications.
Expand Down Expand Up @@ -89,10 +89,10 @@ h3. About Required Gems

The application uses the following gems:

* rails (version 3.0.0.beta4)
* rails (version 3.0.0.rc)
* mongoid (version 2.0.0.beta11)
* bson_ext (version 1.0.4)
* devise (version 1.1.rc2)
* devise (version 1.1.0)

If you wish to deploy to Heroku, you can include the heroku gem (version 1.9.10).

Expand Down
14 changes: 7 additions & 7 deletions TUTORIAL.textile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you wish to "change the recipe" to generate the app with your own customized

h2. Assumptions

This tutorial is based on Rails 3 beta 4, Mongoid 2 beta 11, and Devise 1.1.rc2.
This tutorial is based on Rails 3, Mongoid 2 beta 11, and Devise 1.1.0.

Before beginning this tutorial, you need to install

Expand Down Expand Up @@ -111,10 +111,10 @@ h3. About Required Gems

The application uses the following gems:

* rails (version 3.0.0.beta4)
* rails (version 3.0.0.rc)
* mongoid (version 2.0.0.beta11)
* bson_ext (version 1.0.4)
* devise (version 1.1.rc2)
* devise (version 1.1.0)

If you wish to deploy to Heroku, you can include the heroku gem (version 1.9.10).

Expand All @@ -125,15 +125,15 @@ Edit the *Gemfile* file to look like this:
<pre>
source 'http://rubygems.org'

gem 'rails', '3.0.0.beta4'
gem 'rails', '3.0.0.rc'
gem 'mongoid', '2.0.0.beta11'
gem 'bson_ext', '1.0.4'
gem 'devise', '1.1.rc2'
gem 'devise', '1.1.0'
# uncomment the next two lines if you wish to use Haml
# gem 'haml'
# gem 'haml', '3.0.14'
# gem 'rails3-generators', :group => :development
# uncomment the next line if you wish to deploy to Heroku
# gem 'heroku', '1.9.10'
# gem 'heroku', '1.9.12'
</pre>

h3. Install the Required Gems
Expand Down
2 changes: 2 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Rails3MongoidDevise::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb

config.active_support.deprecation = :log

# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
Expand Down
2 changes: 1 addition & 1 deletion template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
if haml_flag
puts "setting up Gemfile for Haml..."
append_file 'Gemfile', "\n# Bundle gems needed for Haml\n"
gem 'haml', '3.0.13'
gem 'haml', '3.0.14'
gem "rails3-generators", :group => :development
end

Expand Down

0 comments on commit 99e35be

Please sign in to comment.