In your application.rb file change config.assets.enabled to false. Dieter Lunn http://ubiety.ca
On Thu, Jun 16, 2011 at 9:24 AM, Juliusz Gonera <[email protected]> wrote: > Hi, > > I'm trying to use Rails for the first time and since 3.1 is already in > RC stage I thought I'd use it. The problem is I don't want any of the > asset pipeline functionality. I decided to use RequireJS in my project > and I simply don't need asset pipeline or Sprockets. I tried > commenting out config.assets.enabled = true in application.rb or > setting it to false. > > I also put > > require "action_controller/railtie" > require "action_mailer/railtie" > require "active_resource/railtie" > require "rails/test_unit/railtie" > > instead of require 'rails/all' > > No matter what I do, when I run rails server I get the "Could not find > a JavaScript runtime" error. Is it impossible to disable the asset > pipeline or is JavaScript runtime needed for something else? > > Regards, > Juliusz Gonera > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

