02 Apr 2013, 05:46
Generic-user-small

Kingston Sew Eng Hock (7 posts)

Hi,

I’ve reached the last part of iteration k1. All was well until the ‘rake db:setup RAILS_ENV=”production”’ command gave me an error. I fixed it with using ‘bundle exec rake db:setup RAILS_ENV=”production”’. Tables were created and all looked well until I tried loading the app.

I get this error on my browser.

Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError in Store#index

ruby.jpg isn’t precompiled

I am stuck here. Tried searching the web for solutions but they didn’t work. Please help.

02 Apr 2013, 09:53
Samr_small_pragsmall

Sam Ruby (584 posts)

The next time I push out an update, there will be additional instructions to be added to the config/deploy.rb file. You can see them here:

http://intertwingly.net/projects/AWDwR4/checkdepot/section-16.html

Search for “after ‘deploy:update_code’” and “namespace :assets”. Copy both of these sections to your config/deploy.rb file and try again.

27 Apr 2013, 08:29
Generic-user-small

Louis Rhys (22 posts)

I don’t seem to config/deploy.rb. Should i create one? And I need onlu the two sections?

27 Apr 2013, 13:13
Samr_small_pragsmall

Sam Ruby (584 posts)

config/deploy.rb is created by the capify . command.

  You must be logged in to comment