Take the 2-minute tour ×

I am running a Ruby on Rails server on an Ubuntu VirtualBox guest machine. I can access the local server from my host machine by setting the Ubuntu network adapter to bridged. My app's hmtl is loading OK, but the assets e.g. the images are not.

share|improve this question

1 Answer 1

In your config/environments/development.rb file, you need to set the config variable, asset_host, that tells the app where to load the assets. For example if your ip address of your local host is then

config.asset_host = ''

share|improve this answer

Your Answer


