Re: [Radiant] Re: Radiant Edge Install issues

2011-09-16 Thread Joel Oliveira
First shot at working with RC3 has been smooth sailing so far, guys. New
clean gemset, new project, everything works as it should on the first shot.

Excellent work by everyone!  Can't thank you all enough.

- Joel

On Fri, Sep 16, 2011 at 1:07 PM, Dave  wrote:

> Hi,
>
> I had success with the new gem release. Thanks guys! Good work. The
> progress you're making with Radiant CMS has me convinced it was a good
> idea to stick it out after a rough start with the older code.
>
>
>
> On Sep 15, 11:46 am, Jim Gay  wrote:
> > I've just pushed out the RC3.
> > Please try it out!
> >
> > Official announcement coming soon, and I'm sorry Will, but we
> > neglected to update the changelog in this release with your work the
> > recent move to bundler.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Sep 15, 2011 at 10:29 AM, Jim Gay  wrote:
> > > On Thu, Sep 15, 2011 at 10:27 AM, William Ross 
> wrote:
> > >> On 15 Sep 2011, at 15:21, Dave wrote:
> >
> > >>> Hi Will,
> >
> > >>> Anything come of this? Any suggestions?
> >
> > >> Yes. I've had a busy morning, but I'm very glad you made me think it
> through: first because it turned out to be quite a serious problem and then
> because I realised that it could all be much, much simpler.
> >
> > >> I've pushed some updates this morning: if you update your local
> repository and build the gem, you should find that it all just works.
> >
> > >> (I know, I said that last time. but it should).
> >
> > >> I think RC3 will be out when the others have had a chance to review.
> >
> > >> best,
> >
> > >> will
> >
> > > Thanks for all your work, Will!
> >
> > > I'm going to review today and hopefully get RC3 out.
> >
> > > --
> > > Jim Gay
> > > Saturn Flyer LLC
> > >http://www.saturnflyer.com
> > > 571-403-0338
> >
> > --
> > Jim Gay
> > Saturn Flyer LLChttp://www.saturnflyer.com
> > 571-403-0338


Re: [Radiant] Re: Radiant Edge Install issues

2011-09-15 Thread Jim Gay
I've just pushed out the RC3.
Please try it out!

Official announcement coming soon, and I'm sorry Will, but we
neglected to update the changelog in this release with your work the
recent move to bundler.

On Thu, Sep 15, 2011 at 10:29 AM, Jim Gay  wrote:
> On Thu, Sep 15, 2011 at 10:27 AM, William Ross  wrote:
>> On 15 Sep 2011, at 15:21, Dave wrote:
>>
>>> Hi Will,
>>>
>>> Anything come of this? Any suggestions?
>>
>>
>> Yes. I've had a busy morning, but I'm very glad you made me think it 
>> through: first because it turned out to be quite a serious problem and then 
>> because I realised that it could all be much, much simpler.
>>
>> I've pushed some updates this morning: if you update your local repository 
>> and build the gem, you should find that it all just works.
>>
>> (I know, I said that last time. but it should).
>>
>> I think RC3 will be out when the others have had a chance to review.
>>
>> best,
>>
>> will
>>
>
>
> Thanks for all your work, Will!
>
> I'm going to review today and hopefully get RC3 out.
>
>
> --
> Jim Gay
> Saturn Flyer LLC
> http://www.saturnflyer.com
> 571-403-0338
>



-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338


Re: [Radiant] Re: Radiant Edge Install issues

2011-09-15 Thread Jim Gay
On Thu, Sep 15, 2011 at 10:27 AM, William Ross  wrote:
> On 15 Sep 2011, at 15:21, Dave wrote:
>
>> Hi Will,
>>
>> Anything come of this? Any suggestions?
>
>
> Yes. I've had a busy morning, but I'm very glad you made me think it through: 
> first because it turned out to be quite a serious problem and then because I 
> realised that it could all be much, much simpler.
>
> I've pushed some updates this morning: if you update your local repository 
> and build the gem, you should find that it all just works.
>
> (I know, I said that last time. but it should).
>
> I think RC3 will be out when the others have had a chance to review.
>
> best,
>
> will
>


Thanks for all your work, Will!

I'm going to review today and hopefully get RC3 out.


-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338


Re: [Radiant] Re: Radiant Edge Install issues

2011-09-15 Thread William Ross
On 15 Sep 2011, at 15:21, Dave wrote:

> Hi Will,
> 
> Anything come of this? Any suggestions?


Yes. I've had a busy morning, but I'm very glad you made me think it through: 
first because it turned out to be quite a serious problem and then because I 
realised that it could all be much, much simpler.  

I've pushed some updates this morning: if you update your local repository and 
build the gem, you should find that it all just works.

(I know, I said that last time. but it should).

I think RC3 will be out when the others have had a chance to review.

best,

will




Re: [Radiant] Re: Radiant Edge Install issues

2011-09-14 Thread William Ross
On 14 Sep 2011, at 18:37, Dave wrote:

> Hi,
> 
> It is not just chunky-png... that gem is listed in the rc3 gems
> lockfile to be nothing but version 1.2.1 but the gemspec installs
> 1.2.4. Now, if that was the only gem with a problem it would be
> nothing.. to fix.. but it is a lot of gems... too many to deal with by
> hand. Another one... cucumber is at 1.0.6 on install, but the radiant
> gem is hardcoded to want 1.0.3

It does look like there's an out of date Gemfile.lock checked in. I'm just 
creating an empty space to try it out.

(there's one in the radiant gem and one in the instance, you see. long story).

(and I meant gem list, not gem show. Sorry. doesn't matter now, though)

will




> 
> 
> 
> Hence my comment about all the gems... the gem dependency radiant
> command shows...
> 
> Gem radiant-1.0.0.rc3
>  ZenTest (= 4.6.0)
>  acts_as_tree (~> 0.1.1)
>  bundler (~> 1.0.0)
>  compass (~> 0.11.1)
>  cucumber-rails (~> 0.3.2)
>  database_cleaner (~> 0.6.5)
>  delocalize (~> 0.2.3)
>  haml (~> 3.1.1)
>  highline (~> 1.6.2)
>  rack (~> 1.1.1)
>  rack-cache (~> 1.0.2)
>  radiant-archive-extension (~> 1.0.0)
>  radiant-clipped-extension (~> 1.0.6)
>  radiant-debug-extension (~> 1.0.0)
>  radiant-exporter-extension (~> 1.0.0)
>  radiant-markdown_filter-extension (~> 1.0.0)
>  radiant-sheets-extension (~> 1.0.0.pre)
>  radiant-site_templates-extension (~> 1.0.0)
>  radiant-smarty_pants_filter-extension (~> 1.0.0)
>  radiant-textile_filter-extension (~> 1.0.0)
>  radius (~> 0.7.1)
>  rails (~> 2.3.12)
>  rake (~> 0.8.7)
>  rdoc (~> 3.9.2)
>  rspec (~> 1.3.1)
>  rspec-rails (~> 1.3.3)
>  sqlite3 (~> 1.3.4)
>  webrat (~> 0.7.3)
>  will_paginate (~> 2.3.11)
> 
> Gem radiant-archive-extension-1.0.0
> 
> Gem radiant-clipped-extension-1.0.10
>  acts_as_list (~> 0.1.2)
>  paperclip (~> 2.3.16)
>  uuidtools (~> 2.1.2)
> 
> Gem radiant-debug-extension-1.0.0
> 
> Gem radiant-exporter-extension-1.0.0
> 
> Gem radiant-markdown_filter-extension-1.0.0
>  bluecloth (~> 2.1.0)
> 
> Gem radiant-sheets-extension-1.0.0.pre
>  coffee-script (~> 2.2.0)
>  sass (~> 3.1.2)
> 
> Gem radiant-site_templates-extension-1.0.0
> 
> Gem radiant-smarty_pants_filter-extension-1.0.0
>  rubypants (~> 0.2.0)
> 
> Gem radiant-textile_filter-extension-1.0.2
>  RedCloth (~> 4.2.0)
> 
> 
> But that is missing dependencies for a lot of the needed gems... Any
> clues on how to simply fix this? It looks like the Gemfile.lock
> provided is the culprit. I am not sure why that is.
> 
> Thanks!
> 
> 
> 
> 
> 
> 
> On Sep 14, 1:27 pm, William Ross  wrote:
>> On 14 Sep 2011, at 18:17, Dave wrote:
>> 
>>> Seems the gemspec builds a gem that cannot actually install anything,
>>> as it depends on gems it did not install in the first place. Other
>>> then hand editing the radiant gems lockfile is there an easier way to
>>> use the rc3 gem???
>> 
>> You shouldn't need to hand-edit anything, but all of this is (very close) 
>> pre-release code that we are in the final stages of testing and rolling out. 
>> I'm sorry it's causing errors. Also sorry I failed to notice your heavy 
>> sarcasm. Yay.
>> 
>> There are three stages involved here:
>> 
>> 1. gem install radiant-* should install radiant and all of the gems on which 
>> it depends.
>> 
>> 2. radiant myApp should create an instance of radiant in the directory 
>> ./myApp
>> 
>> 3. cd'ing into that directory and running bundle install should lock a 
>> bundle that makes the same newly installed gems available to the myApp app.
>> 
>> For some reason in your installation the chunky_png gem wasn't available to 
>> the app. Could you please let me know what you get in response to these 
>> commands:
>> 
>> $ gem show chunky_png
>> $ bundle show chunky_png# might blow 
>> up, but still useful
>> $ gem dependency radiant
>> 
>> thanks for testing this,
>> 
>> will
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On Sep 14, 12:58 pm, Dave  wrote:
 Hi,
>> 
 In fact, now that I try and create a site with the new radiant gem,
 all it does it error out on missing gems.
>> 
 Yay.
>> 
 On Sep 14, 12:42 pm, Dave  wrote:
>> 
> Hi William,
>> 
> Here is one thing for you.
>> 
> command:
> radiant myApp
>> 
> errors out with...
>> 
> /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/
> radiant-1.0.0.rc3/bin/../config/../config/preinitializer.rb:18:
> Bundler couldn't find some gems: Could not find chunky_png-1.2.1 in
> any of the sources. Did you run `bundle install`? (RuntimeError)
> from 
> /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:48:in `load'
> from 
> /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:48:in `preinitialize'
> from 
> /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
> gems/radiant-

Re: [Radiant] Re: Radiant Edge Install issues

2011-09-14 Thread William Ross
On 14 Sep 2011, at 18:17, Dave wrote:

> Seems the gemspec builds a gem that cannot actually install anything,
> as it depends on gems it did not install in the first place. Other
> then hand editing the radiant gems lockfile is there an easier way to
> use the rc3 gem???

You shouldn't need to hand-edit anything, but all of this is (very close) 
pre-release code that we are in the final stages of testing and rolling out. 
I'm sorry it's causing errors. Also sorry I failed to notice your heavy 
sarcasm. Yay.

There are three stages involved here:

1. gem install radiant-* should install radiant and all of the gems on which it 
depends. 

2. radiant myApp should create an instance of radiant in the directory ./myApp

3. cd'ing into that directory and running bundle install should lock a bundle 
that makes the same newly installed gems available to the myApp app.

For some reason in your installation the chunky_png gem wasn't available to the 
app. Could you please let me know what you get in response to these commands:

$ gem show chunky_png
$ bundle show chunky_png# might blow 
up, but still useful
$ gem dependency radiant

thanks for testing this,

will




> On Sep 14, 12:58 pm, Dave  wrote:
>> Hi,
>> 
>> In fact, now that I try and create a site with the new radiant gem,
>> all it does it error out on missing gems.
>> 
>> Yay.
>> 
>> On Sep 14, 12:42 pm, Dave  wrote:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> Hi William,
>> 
>>> Here is one thing for you.
>> 
>>> command:
>>> radiant myApp
>> 
>>> errors out with...
>> 
>>> /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/
>>> radiant-1.0.0.rc3/bin/../config/../config/preinitializer.rb:18:
>>> Bundler couldn't find some gems: Could not find chunky_png-1.2.1 in
>>> any of the sources. Did you run `bundle install`? (RuntimeError)
>>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:48:in `load'
>>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:48:in `preinitialize'
>>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:19:in `boot!'
>>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:122
>>> from /Users/campista-socialista/.rvm/rubies/ree-1.8.7-2011.03/lib/
>>> ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
>>> `gem_original_require'
>>> from /Users/campista-socialista/.rvm/rubies/ree-1.8.7-2011.03/lib/
>>> ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
>>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>>> gems/radiant-1.0.0.rc3/bin/radiant:5
>>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>>> bin/radiant:19:in `load'
>>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>>> bin/radiant:19
>> 
>>> Any idea why that occurs?
>> 
>>> On Sep 14, 11:13 am, William Ross  wrote:
>> 
 On 14 Sep 2011, at 15:58, Dave wrote:
>> 
> 
>> 
> Is there a way to use the radiant gem and have it play nice without
> the vendored rails...???
>> 
> I am quite capable of using Bundler and my Gemfile to ensure Radiant
> is happy, but apparently this is not possible with the current radiant
> gem?
>> 
 What you have there is not really edge, but quite an old release candidate 
 that is about to be replaced any moment now.
>> 
 Edge radiant vendors nothing, uses Bundler properly and sets everything up 
 for you. The way to get it right now is from the repository:
>> 
 First install radiant:
>> 
 $ rvm 1.8.7 # if you're using RVM. You may also want an 
 @radiant gemset for testing purposes
>> 
 $ cd /tmp   # or wherever
 $ git clone git://github.com/radiant/radiant.git
 $ cd radiant
 $ gem build radiant.gemspec
 $ sudo gem install radiant-1.0.0.rc3.gem
>> 
 Then use radiant to create an application:
>> 
 $ cd /var/www   # or wherever
 $ radiant myapp
 $ cd myapp
 … edit Gemfile to add extensions and config/environment.rb 
 to configure application
 $ bundle install
 $ rake db:bootstrap
>> 
 If you run into any problems with that sequence, please let us know. This 
 is all about to be released and we'd be very glad of any input from 
 testers.
>> 
 Thank you,
>> 
 will
>> 
 ps. Once the RC3 gem is released, the installation sequence just be `gem 
 install radiant`, of course.




__
 
William Ross
Spanner Ltd
18 Fountain Street
Ulverston
Cumbria LA12 7EQ
01229 588098 or 07771 562745
 





Re: [Radiant] Re: Radiant Edge Install issues

2011-09-14 Thread William Ross
On 14 Sep 2011, at 17:58, Dave wrote:

> Hi,
> 
> In fact, now that I try and create a site with the new radiant gem,
> all it does it error out on missing gems.

I'm glad to hear that the gem is working, but apart from the unavoidable 
deprecation noise it shouldn't show any errors in the instance you generate. Is 
it still to do with chunky_png?

will





> 
> Yay.
> 
> 
> 
> On Sep 14, 12:42 pm, Dave  wrote:
>> Hi William,
>> 
>> Here is one thing for you.
>> 
>> command:
>> radiant myApp
>> 
>> errors out with...
>> 
>> /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/gems/
>> radiant-1.0.0.rc3/bin/../config/../config/preinitializer.rb:18:
>> Bundler couldn't find some gems: Could not find chunky_png-1.2.1 in
>> any of the sources. Did you run `bundle install`? (RuntimeError)
>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:48:in `load'
>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:48:in `preinitialize'
>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:19:in `boot!'
>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>> gems/radiant-1.0.0.rc3/bin/../config/boot.rb:122
>> from /Users/campista-socialista/.rvm/rubies/ree-1.8.7-2011.03/lib/
>> ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
>> `gem_original_require'
>> from /Users/campista-socialista/.rvm/rubies/ree-1.8.7-2011.03/lib/
>> ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>> gems/radiant-1.0.0.rc3/bin/radiant:5
>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>> bin/radiant:19:in `load'
>> from /Users/campista-socialista/.rvm/gems/ree-1.8.7-2011.03@radiant/
>> bin/radiant:19
>> 
>> Any idea why that occurs?
>> 
>> On Sep 14, 11:13 am, William Ross  wrote:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On 14 Sep 2011, at 15:58, Dave wrote:
>> 
 
>> 
 Is there a way to use the radiant gem and have it play nice without
 the vendored rails...???
>> 
 I am quite capable of using Bundler and my Gemfile to ensure Radiant
 is happy, but apparently this is not possible with the current radiant
 gem?
>> 
>>> What you have there is not really edge, but quite an old release candidate 
>>> that is about to be replaced any moment now.
>> 
>>> Edge radiant vendors nothing, uses Bundler properly and sets everything up 
>>> for you. The way to get it right now is from the repository:
>> 
>>> First install radiant:
>> 
>>> $ rvm 1.8.7 # if you're using RVM. You may also want an 
>>> @radiant gemset for testing purposes
>> 
>>> $ cd /tmp   # or wherever
>>> $ git clone git://github.com/radiant/radiant.git
>>> $ cd radiant
>>> $ gem build radiant.gemspec
>>> $ sudo gem install radiant-1.0.0.rc3.gem
>> 
>>> Then use radiant to create an application:
>> 
>>> $ cd /var/www   # or wherever
>>> $ radiant myapp
>>> $ cd myapp
>>> … edit Gemfile to add extensions and config/environment.rb 
>>> to configure application
>>> $ bundle install
>>> $ rake db:bootstrap
>> 
>>> If you run into any problems with that sequence, please let us know. This 
>>> is all about to be released and we'd be very glad of any input from testers.
>> 
>>> Thank you,
>> 
>>> will
>> 
>>> ps. Once the RC3 gem is released, the installation sequence just be `gem 
>>> install radiant`, of course.




__
 
William Ross
Spanner Ltd
18 Fountain Street
Ulverston
Cumbria LA12 7EQ
01229 588098 or 07771 562745