Hi Will, Anything come of this? Any suggestions?
Thanks On Sep 14, 1:45 pm, William Ross <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote: > > >>>>>> On 14 Sep 2011, at 15:58, Dave wrote: > > >>>>>>> <snip> > > >>>>>>> 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 > > __________________________ > > William Ross > Spanner Ltd > 18 Fountain Street > Ulverston > Cumbria LA12 7EQ > 01229 588098 or 07771 562745
