Would it be possibly to include the Rail frameworks inside the lib directory? This way only Ruby, the web server and any modules that require platform specific compiling would need to exist in the OS. The reason I ask is that I am working with a network appliance developer to replace an existing PHP solution provided by one of their vendors with a Rails application. One hurdle I want eliminate is how their customers install and update future versions. They currently need to perform the following: 1. Update Ruby to 1.8.1+ by compiling and installing 2. Install RubyGem 3. Using gem install Rails 4. Install my application That sounds simple to those familiar with Rails but I am dealing with people that are hesitant about leaving their comfort zone. I want to eliminate as many reasons to no a possible. My thought is to have the developer to pre-install/update their product to include the necessary version of Ruby for the OS, in this case Fedora Core 1. Customers could then simply update the Rail application in the proper directory when needed. Rails itself (AR, AP, AM, etc.) would be included in the lib directory of the application. Is this possible? Does anyone see any problems down the road? -- Lon Baker
Lon Baker wrote:> Would it be possibly to include the Rail frameworks inside the lib > directory? This way only Ruby, the web server and any modules that > require platform specific compiling would need to exist in the OS.>> The reason I ask is that I am working with a network appliance developer > to replace an existing PHP solution provided by one of their vendors > with a Rails application. One hurdle I want eliminate is how their > customers install and update future versions. > > They currently need to perform the following: > > 1. Update Ruby to 1.8.1+ by compiling and installing > 2. Install RubyGem > 3. Using gem install Rails > 4. Install my application > > That sounds simple to those familiar with Rails but I am dealing with > people that are hesitant about leaving their comfort zone. I want to > eliminate as many reasons to no a possible. > > My thought is to have the developer to pre-install/update their product > to include the necessary version of Ruby for the OS, in this case Fedora > Core 1. > > Customers could then simply update the Rail application in the proper > directory when needed. Rails itself (AR, AP, AM, etc.) would be included > in the lib directory of the application. > > Is this possible? Does anyone see any problems down the road? > > -- > Lon Baker >This is how the tarball version of rails works, except it goes in vendor/ not lib/. It should fit your purposes excellently. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Scott, Thanks! Do you by any chance know where anyone has documented that? I have search various Rails sites (How to, Wiki, etc.) with no luck. I did find a thread on the mailing list via google. But there were not detail just more of a discussion about Gems, RPA and Tar. -- Lon Baker On Feb 18, 2005, at 4:14 PM, rails-request-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org wrote:> This is how the tarball version of rails works, except it goes in > vendor/ not lib/. It should fit your purposes excellently.