Alexey Muranov
2011-Nov-30 23:47 UTC
How to use a local copy of rails in a rails application
Sorry for a primitive question, but how can i use a local copy of rails with my rails 3 application (locally)? Quick googling didn''t help, and on StackOverflow there is something about putting local rails to the "vendor" directory, but it does not seem to work for me. Thanks. Alexey. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Craig White
2011-Nov-30 23:57 UTC
Re: How to use a local copy of rails in a rails application
On Nov 30, 2011, at 4:47 PM, Alexey Muranov wrote:> Sorry for a primitive question, but how can i use a local copy of rails > with my rails 3 application (locally)? > > Quick googling didn''t help, and on StackOverflow there is something > about putting local rails to the "vendor" directory, but it does not > seem to work for me.---- http://stackoverflow.com/questions/4516097/how-can-i-vendorize-rails-3 Craig -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Alexey Muranov
2011-Dec-01 00:05 UTC
Re: How to use a local copy of rails in a rails 3 application?
Thanks Craig, this works! And i think i''ve found and fixed my first bug in rails. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2011-Dec-01 08:23 UTC
Re: How to use a local copy of rails in a rails application
On 30 November 2011 23:47, Alexey Muranov <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Sorry for a primitive question, but how can i use a local copy of rails > with my rails 3 application (locally)? > > Quick googling didn''t help, and on StackOverflow there is something > about putting local rails to the "vendor" directory, but it does not > seem to work for me.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 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Alexey Muranov
2011-Dec-01 12:00 UTC
Re: How to use a local copy of rails in a rails application
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. > > ColinThe 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apparently Analagous Threads
- Weird assignment problem, very confused :(
- autoloading LoadError: Expected known_ip.rb to define KnownIp
- ActiveSupport 3.0.6: require 'active_support/core_ext' generates "circular require" warning
- ActiveSupport::OrderedHash disappears?
- Need a multi user voice chat application that can be integrated into rails application.