Re: [Rails] Re: relative_url_root doesn't work correctly with Rails 5.1.4

2017-10-24 Thread Takuya Kusumoto
Finally solved.
The root cause was config.assets.debug = true in development.rb.
When I commented it, it worked!
The conclusion is config.assets.debug has a bug with relative_url_root.

Thanks,
Kusumoto 


2017年10月25日水曜日 0時45分19秒 UTC+9 Takuya Kusumoto:
>
> Thanks. Already tried. But the option changes asset directory under public.
> It made the situation worse... (all of assets becomes 404)
>
>
> 2017年10月25日水曜日 0時25分55秒 UTC+9 bot Peña:
>>
>> see config.assets.prefix 
>>
>> On Tue, Oct 24, 2017 at 11:01 PM, Takuya Kusumoto  
>> wrote: 
>> > I guess asset compile is failing with relative_url_root... 
>> > Any bugs reported? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/11de8905-fecf-4345-9b2c-9d58ef31b58c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: relative_url_root doesn't work correctly with Rails 5.1.4

2017-10-24 Thread Takuya Kusumoto
Thanks. Already tried. But the option changes asset directory under public.
It made the situation worse... (all of assets becomes 404)


2017年10月25日水曜日 0時25分55秒 UTC+9 bot Peña:
>
> see config.assets.prefix 
>
> On Tue, Oct 24, 2017 at 11:01 PM, Takuya Kusumoto  > wrote: 
> > I guess asset compile is failing with relative_url_root... 
> > Any bugs reported? 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/eba2a8ae-d245-4afa-9db1-87923dd67913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: relative_url_root doesn't work correctly with Rails 5.1.4

2017-10-24 Thread botp
see config.assets.prefix

On Tue, Oct 24, 2017 at 11:01 PM, Takuya Kusumoto  wrote:
> I guess asset compile is failing with relative_url_root...
> Any bugs reported?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAAwHHQj%2BwsJXJWgTR9W0i8P7Jqty8fveNTTN_y_AmP2ZXJ9umw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.