On 10 May 2012 15:11, beau trepp <[email protected]> wrote:
> I'll try installing an older version of ruby then. Seems odd, I use RVM, and
> I generally aim for stable so wasn't expecting that to happen.

I don't quite understand what you are saying here.  Do you mean that
you believe Ruby 2 is current stable release?   1.9.3 is current
stable I think.  See http://www.ruby-lang.org/en/downloads/

Colin

>
> I admitted I don't know theĀ intricaciesĀ of Rails asset pipeling. Still I
> know enough about javascript to identify that being the only JS file
> included (or script anywhere on the page), and that containing nothing to
> run. :S
>
>
> On Thu, May 10, 2012 at 10:03 PM, Robert Walker <[email protected]>
> wrote:
>>
>> Beau wrote in post #1060314:
>> > Howdy,
>> >
>> > Using rails 3.2.3 and ruby 2.0.0dev. Running rails s, doesn't seem to
>> > include the javascript. This causes Delete/destroy to never work. It
>> > just
>> > defaults to a GET and thus show.
>> >
>> > I tested this in a barebones project
>>
>> AFAIK Rails 3.2.3 is not supported on Ruby 2.0 so I'm not surprised at
>> all that you're having problems. Install the latest patch of Ruby 1.9.3
>> and all should be well.
>>
>> > Also I don't know much about rails "asset pipeline" but the JS/CSS files
>> > being served look like this
>> >
>> > // This is a manifest file that'll be compiled into application.js,
>> > which
>> >> // the compiled file.
>> >> //
>> >> // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE
>> >> PROCESSED,
>> >> ANY BLANK LINE SHOULD
>> >> // GO AFTER THE REQUIRES BELOW.
>> >> //
>> >> //= require jquery
>> >> //= require jquery_ujs
>> >> //= require_tree .
>> >> ;
>> >
>> >
>> > Which seems wrong to me, I don't think the client/browser should be
>> > seeing
>> > that file.
>>
>> Sounds to me like it's time for you to get to know something about the
>> Rails asset pipeline before incorrectly assuming something is wrong.
>>
>> Have you even looked at the Rails guides:
>> http://guides.rubyonrails.org/asset_pipeline.html
>>
>> If not that would be a really good place for you to start.
>>
>> --
>> Posted via http://www.ruby-forum.com/.
>>
>> --
>> 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.

-- 
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.

Reply via email to