[ANN] Evergreen 1.0.0.rc

21 views
Skip to first unread message

jnicklas

unread,
Oct 5, 2011, 11:51:01 AM10/5/11
to Evergreen
Hi everyone,

Evergreen 1.0.0.rc is out, with support for Rails 3.1, a slightly
pimped design, and some other goodies.

Check it out! If everything goes according to plan, 1.0.0.final will
be released next week.

/Jonas

Marcelo Silveira

unread,
Oct 8, 2011, 6:15:51 PM10/8/11
to ruby-ev...@googlegroups.com
Hi Jonas, thanks. Well done.

The only issue I noticed is that in Rails 3.1, the evergreen "application" is being loaded before the config/evergreen.rb file. It made a Evergreen.extensions block I had there stop being effective. I had to move it into an initializer to get it working.

Other then that, everything seems fine.

Cheers


jmaicher

unread,
Oct 8, 2011, 4:48:10 AM10/8/11
to Evergreen
Hey Jonas,

any specifics of how to set up 1.0.0.rc with Rails 3.1?

Thanks,
Julian

I'd love to try the RC with Rails 3.1 support.

Jonas Nicklas

unread,
Oct 9, 2011, 6:50:32 AM10/9/11
to ruby-ev...@googlegroups.com
Hmm, that's a problem. I'll have to investigate if we can do anything
about this.

/Jonas

TRob

unread,
Oct 13, 2011, 7:39:36 PM10/13/11
to Evergreen
Sorry for the basic question but I'm not having any luck getting
evergreen to work. Any guidance on how this is supposed to work with
Rails 3.1? I've tried a very simple spec in spec/javascripts and it
doesn't show in the tests at all?

With the asset pipeline, is it intended that
require('myjavascriptmanifestfile') will work? If so, what's the
expected syntax if I have a file named app.js for instance?
require('app')? 'app.js', '/app.js', 'assets/app.js'?

Any help much appreciated!

Jonas Nicklas

unread,
Oct 14, 2011, 2:56:23 AM10/14/11
to ruby-ev...@googlegroups.com
require('/assets/app.js') is correct.

require doesn't do anything magical, it pretty much adds a <script
src="/assets/app.js"></script> to your page, nothing fancier than
that. As for the tests not showing up, they need to be named so that
they end in _spec.js or _spec.coffee, maybe that's the problem?

/Jonas

Reply all
Reply to author
Forward
0 new messages