I can't comment on Rails 3.2, but I can comment on relative_url_root, since we use that in our deployments, so fixing bugs to make that work is a high priority.
To use a relative url on Hobo 1.3, you have to be running the latest 1-3-stable from Github (I should really package that as 1.3.1 soon), and then add this to config/environments/production.rb: config.action_controller.relative_url_root = "/portal" config.action_controller.asset_path = "/portal%s" /portal is our relative root. To use a relative url on Hobo 1.4, make sure you are running master, and then make sure you have this in your routes.rb: root :to => 'front#index' match ENV['RAILS_RELATIVE_URL_ROOT'] => 'front#index' if ENV['RAILS_RELATIVE_URL_ROOT'] That hack will be added to all newly generated applications, but may not be in your app if you generated it more than a couple of weeks ago. On 1.4, you do not need the two 1.3 config settings, they must be removed. Bryan P.S. it would be nice if you found another bug preventing Hobo 1.4 from working with relative_url_root. That would mean that I would HAVE to upgrade Hobo to 3.2 ASAP. :) On Mon, May 14, 2012 at 6:38 PM, Henry Baragar <[email protected]> wrote: > Hi Bryan, > > A month ago you said that "hopefully soon I'll fix it (Hobo 1.4) to work > with rails 3.2". Is there an ETA for this? (I know, I should not ask such > questions without being prepared to dig in and help get it done). > > The reason I ask is that config.action_controller.relative_url_root (and > ENV['RAILS_RELATIVE_URL_ROOT']) is broken in Rails 3.1.4 but apparently > fixed in 3.2. > > Cheers, > Henry > > -- > Henry Baragar > Instantiated Software > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
