views:

16

answers:

1

I want to implement a feature in rails but I'd like to test it with a rails application.

If my (git) cloned copy is sitting in ~/home/username/code/rails then how can I create a new rails app that references that code instead of my installed rails gem?

A: 

I haven't tried this, but it looks like you can use bundler to do this. From the bundler site (second to last example):

Use a gem that you are actively developing on your file system
gem "nokogiri", :path => "~/Code/nokogiri"

I'm assuming you can do the same w/ the rails gem itself since it is specified in the Gemfile.

avaynshtok