Testing Rails 3 - Just the Facts
Posted over 2 years ago by Philip Ingram
While I’ll leave the technical jargon to those that care to write that, I’d like to share with you a simple way for you to test your own Rails 3 app.
I’m using k776’s generate_rails_app.rb script from this gist .
Ensure you install the bundler gem before doing the rest, it’ll make it easier
I did the following just to be safe
mkdir ~/bugmash
mkdir ~/bugmash/weblog
mate ~/bugmash/generate_rails_app.rb
Then you just copy and paste that gist into your fresh script and then run the script after you save it.
ruby ~/bugmash/generate_rails_app.rb ~/bugsquash/weblog/
Other gotchas?
Oh of course. in order to start script/server i had to update the gems json and mongrel. I know you know how to update gems…
First Impressions of Rails 3
Where’d the config.gems go?
It appears all of the config.gem code that you used togo in the environment.rb file is now in the Gemfile file in the rails root. Also the environment.rb file is wrapped in it’s own namespaced module. cool.
I’m going to test devise gem from plataformatec and Jose Valim. I’ll post separately about that.
Comments
Your articles are jolly interesting. I possess learned a group from your mail
Recent Posts
Keeping Subscription dates tidy during February and Leap years
Testing ActiveResource - Basic Tutorial
Active Resource to Sinatra DataMapper backend
ArmRest and the tale of the No Schema Scheme
Textmate Ruby 1.9.1 and rvm - the facts
Easiest Postgres Install Ever - Mac Edition
Two Questions to Help Decide Between RDBMS, MongoDB or CouchDB
Testing Rails 3 - Just the Facts
Acts_as_snook - Creating an admin panel
Top 10 Movies of this Decade... Rebuttal
Thinking_Sphinx - Easy Setup Tutorial