similar to: Sprockets File not Found Exception.

Displaying 20 results from an estimated 2000 matches similar to: "Sprockets File not Found Exception."

2011 Dec 02
20
Need Some Guides on Solr with Rails.
Hi Everyone, I am pretty new to Rails. I have very little idea about everything. But for my new project i have been asked to do some research on Solr search and implement it on Rails. Please provide me some link on tutorials and guides about Solr on Rails. Trouble is... have to do it by tomorrow. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are
2011 Nov 28
9
CSS Problem.
Hi Everyone, I was going through the Rails tutorial from here: http://ruby.railstutorial.org/chapters/filling-in-the-layout#top I was getting this exception on my WebRick server: Started GET "/assets/blueprint/print.css" for 127.0.0.1 at 2011-11-28 14:43:00 +0530 Served asset /blueprint/print.css - 404 Not Found (0ms) ActionController::RoutingError (No route matches [GET]
2011 Sep 01
7
couldn't find file 'jquery' rails 3.1 stable mountable engine
When I create a new engine in Rails 3.1 stable and then access the dummy app or the engine I get an error say that the app can''t find jquery. I''ve created the engine using rails plugin new coffee --mountable I''ve also created a basic controller in the engine and the dummy app. If I remove the javascript include tag, everything works. But with the tag there it just
2012 Nov 06
2
rspec failure upon revisit
I just returned from a different project after taking a few weeks off of my tutorial. I''m using Ruby on Rails 3 Tutorial - Learn Rails by Example by Michael Hartl. After rebooting my server I ran an rspec spec/ command to check to see if there were any problems and this is what I received. I didn''t modify anything except I did overwrite users_controller.rb and
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me) Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class So I''m using... app/assets/javascripts/people.js.coffee and put in...
2012 Dec 18
2
cache-busting non-digest assets in sprockets in development a good idea? should headers in sprockets be configurable?
Just monkey patched Sprockets in our Rails 3.2.9 app to override the Cache-Control header for html assets that we need to tweak more often in development, but that we don''t want to use digests/fingerprinting with: # Sprockets 2.x patch if Rails.env.development? module Sprockets module Server private alias_method :sprockets_headers, :headers def headers(env,
2008 Sep 14
2
rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
i have a rails app that tests fine with "rake spec" but gets a segmentation fault when "rake spec:rcov" is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test_blog/tree/master so maybe someone can try to replicate my error so i know if the problem is with my code or something installed on my pc. here is a copy of my shell
2012 Aug 29
7
custom js in rails project
Hello, I have a rails project with one controller and one action, as simple as posible. And I''m trying to put some custom css and js to my own index.html.erb (not public/index.html.erb), I inluded this on the layout file: layout file: <!DOCTYPE html> <html> <head> <title>Volei</title> <%= stylesheet_link_tag "application", :media =>
2011 Nov 10
1
url helper in model.js.erb.cofee (Sprockets::Context)
hello, I am writing a js/coffee file that gets erb handling and I need to use a url helper inside this file if write .. url: ''<%= url_for(:action => :index) %>'' I get an error: NoMethodError Exception: undefined method `url_for'' for #<#<Class: 0xbdbb068>:0xeed1eb8> >>self.class #<Class:0xbdbb068> < Sprockets::Context How do I
2008 Oct 11
5
Rails + Apache2 + Balancer Manager - PHP doesn't work
Hi I have a Debian Server and I managed that Ruby works with Apache2 and the Balancer Manager that listen to the Mongrel server. The Problem is that PHP files don''t work anymore. How do I have to configurate the Balance Manager that PHP is working again like without the Balance Manager? Greetings Andi -- Posted via http://www.ruby-forum.com/.
2006 May 12
1
Application error (Apache) -- depot_final sample code
Hi, I''ve been trying to run the application (depot_final) from the "Agile Web Development with Rails" book (http://pragmaticprogrammer.com/titles/railscode.html), and keep getting the "Application error (Apache)" screen when I go to 127.0.0.1:3000/admin/new. I tried this on 2 different Win2K machines with the same error. One machine has the latest version (13a)
2007 Oct 18
0
rake spec:models failing
Hi there, I''m having trouble with `rake spec:models`. It''s failing on: - 1 old rspec/rails project - all new rspec/rails projects But, it *is* working fine on my other (older) rspec/rails projects. All projects are on rspec & rails 1.0.8, Rails 1.2.3, os X ppc Here''s a fresh rspec/rails project with failing rake task $ rails test_app -d postgresql $ cd
2010 Jun 16
4
Sampling with replacement
Dear all, good morning, I have a population, let say members are tagged with some simple number like 1,2,3,...20. I want to draw a sample with replacement of size 4 (say, can be more than 20 also). Is there any R function which will show me all such possible samples? Thanks [[alternative HTML version deleted]]
2008 Mar 18
0
rake tasks
Hi All, New to merb, I was wondering if there are any similar rake tasks to that of the rails rake stats? Im using merb version 0.5.3 Tried the aok task and am getting the following: eoghan-js-Computer:test_app eoghanj$ rake aok (in /project/merb/test_app) /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE rake rcov (in
2011 Jun 29
6
RSpec with Rails 3.1rc4: spec test won't recognize <%= %> (should be simple)
In my user_sessions_controller: class UserSessionsController < ApplicationController before_filter :require_no_user, :only => [:create, :new] before_filter :require_user, :only => :destroy def new @user_session = UserSession.new @message = "Hello." end def create @user_session = UserSession.new(params[:user_session]) if @user_session.save
2007 Jul 14
8
Specing Layouts
Hi, I''ve just started to try and spec my application.html.erb layout as one of the view specs but it totally barfs. I''m guessing that it''s due to the yield statements in the layout. Any clues as to how to proceed? Cheers Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Mar 06
0
rake spec aborting
hello, when running rake spec, I''m getting a stack trace similar to the one mentioned in this ticket, which has been resolved: http://rspec.lighthouseapp.com/projects/5645/tickets/237 but from what I understood, if the project is using rspec 1.1.3 (as is the case with mine), this shouldn''t be happening? here''s the stack-trace: rake aborted! Command ruby
2008 Jun 04
8
Why has the --color gone from my life?
Hi all, Running on OSX 10.5.3, Latest Rspec trunk, Rspec rails trunk, latest autotest gem and rails 2.1 I''ve lost my colour output in autotest. rake spec gives colour output, but autotest gives me black and white. It was working a little bit before, I think I upgraded to the latest versions of everything to get all the textmate snippets talking and being friendly to one another again
2005 Jul 07
1
Rails 0.13 failing on Win XP
Hi all, Since 0.13 just got out, I decided to live a little on the edge and upgraded my working 0.12.1 Rails apps to 0.13. Which made them crash with a bang! After a little investigation it looks like even a fresh app will crash with a message: "allocator undefined for proc"... I''m on Win XP, everything was fine under Rails 0.12.1 Any help would be highly appreciated. --
2012 May 07
1
Sprockets, JST, Eco and escaping
While it was a good move from Rails part to escape ERB <%= %> tags by default, it doesn''t seem to happen to Sprockets as well. The strange bit is that according to Sprockets documentation, it would be just a matter of naming your template as .jst.eco to enable Eco: https://github.com/sstephenson/sprockets#javascript-templating-with-ejs-and-eco Then, extracted from Eco