Ruby on Rails Thursday, December 1, 2011

Colin Law wrote in post #1034532:

> Can you clarify exactly what you mean please? Give an example of what
> you are trying to achieve. Also tell us which version(s) of rails you
> are interested in as the answer may vary.
>
> Colin

The link that Craig gave explained the solution:
http://stackoverflow.com/questions/4516097/how-can-i-vendorize-rails-3

It was enough to add `:path => ` to Gemfile:

gem 'rails', '~>3.1.0', :path => "path/to/my/clone/of/rails"

(i actually copied the folder with my copy of rails git repository to
vendor/rails).
After that my sample application started using this copy of rails
instead of rails gem.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment