Ruby on Rails Friday, July 25, 2014

On Thu, Jul 24, 2014 at 11:11 PM, Thilak G <thilakrex@gmail.com> wrote:

> i have deployed a rails application on heroku
> ruby version 1.9.3-p547
> rails version 2.3.18
>
> while i am using webrick server its working properly,but using unicorn
> server its not working ,that means it didn't support javascript, css and
> all,it shows error like this
>
> ActionController::RoutingError (No route matches "/images/search.jpg" with
> {:method=>:get}):
>
> so i have tried this command $ bundle exec rake assets:precompile
> RAILS_ENV=production RAILS_GROUPS=assets
> but it shows error like this
>
> rake aborted!
> Don't know how to build task 'assets:precompile'
>
> in rails 2.3.18 not even have assets.please help me to solve this.

Yes, there's no asset pipeline in Rails 2.3.x, so you need to fix your
actual problem.

What happens when you try this on your dev system?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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+unsubscribe@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/CACmC4yAh6v0hMhd5vDODTtWC4PM0CoGwuhrC-wdx%2Bk6yPXHo9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment