DiscoPosse – Using the chicken to measure IT
Technology, Cycling, Music and Madness


Technology

September 5, 2010

Ruby on Rails tip – generating a project with specific rails version

More articles by »
Written by: Eric
Tags: , , , ,

Let me qualify that I am sporting the “noob” title with my Ruby on Rails development. That being said, I hope that I can offerRuby on Rails some small help to other new RoR folks as I learn the ropes myself.

This is a simple tip which I have found very handy since I’ve updated my rails to 3.0.0 this week. If you need to generate a new project but need to use a “legacy” version of rails then you simply include the version within your code using this syntax:

rails _version_ projectname

So my current need to use 2.3.5 for a site uses this command line:

rails _2.3.5_ mysite

Small tip but big help for those like me who have to manage and support multiple versions of Rails across environments.



About the Author

Eric





 
 

 
adminscripting-featuredimage

DiscoPosse VMUG Presentation (2012): Admin Scripting, Tips & Tricks

In spring 2012 I was lucky enough to be able to be a presenter at the Toronto VMUG. The presentation I gave was titled Admin Scripting, Tips & Tricks. This is a little blast from the past for me, and anyone who was there fo...
by Eric
0

 
 
20121215-200537.jpg

DiscoPosse Review: iOS 6 Programming Cookbook – Vandad Nahavandipoor

One word review: Complete. The iOS 6 Programming Cookbook by Vandad Nahavandipoor from O’Reilly Publishing is not just a cookbook, but a full end-to-end recipe guide for every aspect of iOS application development for iPh...
by Eric
0

 
 
Yak Shaving

The fine art of Yak Shaving

I’m often asked just what it means to be “yak shaving”. I can’t tell you what the true origin of the phrase is, but believe me, I can tell you that I have shaved plenty of yaks in my career. Let’s ...
by Eric
0

 




Join Zipcar and get $50 in free driving Join Zipcar and get $50 in free driving Join Zipcar and get $50 in free driving

0 Comments


Be the first to comment!


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>