Created
January 20, 2011 08:19
Revisions
-
awendt revised this gist
Jan 20, 2011 . 2 changed files with 1 addition and 1 deletion.There are no files selected for viewing
File renamed without changes.This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ $ rails new my_test # change into my_test and edit Gemfile to match above version $ cd my_test $ vi Gemfile $ vi config/initializers/middleware.rb # Install gems and test app $ bundle install -
schmidt revised this gist
Jan 19, 2011 . 3 changed files with 16 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,5 +2,6 @@ source 'http://rubygems.org' gem 'rails', '3.0.3' group :development do gem 'ruby-prof', '< 0.9.0' gem 'rack-contrib' #, :require => 'rack/contrib' end This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ class MyTest::Application config.middleware.use ::Rack::Profiler, :printer => ::RubyProf::GraphHtmlPrinter end This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,13 +11,18 @@ $ rails new my_test # change into my_test and edit Gemfile to match above version $ cd my_test $ vi Gemfile $ vi config/initializers/middlerware.rb # Install gems and test app $ bundle install $ rails s => Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /private/tmp/my_test/config/initializers/middleware.rb:2: uninitialized constant Rack::Profiler (NameError) /private/tmp/my_test/config/initializers/middleware.rb:2: uninitialized constant Rack::Profiler (NameError) .... -
schmidt created this gist
Jan 19, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ source 'http://rubygems.org' gem 'rails', '3.0.3' group :development do gem 'rack-contrib', :require => 'rack/contrib' end This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ # create empty gemset $ rvm use @bundler_108 --create # install bundler and rails $ gem install bundler -v 1.0.8 $ gem install rails # create new rails project $ rails new my_test # change into my_test and edit Gemfile to match above version $ cd my_test $ vi Gemfile # Install gems and test app $ bundle install $ rake -T (in /private/tmp/my_test) rake aborted! no such file to load -- rack/contrib /private/tmp/my_test/Rakefile:4 (See full trace by running task with --trace)