I'm sorry everybody, this is an error with the gem, not with Ruby 1.9.2.

I'll fix this and get an RC out tonight, but here's where the problem is:

I've changed the way the files are loaded in the gemspec to collect
everything with ruby and ignore what's specified in .gitignore
On this line: https://github.com/radiant/radiant/blob/master/radiant.gemspec#L19
I forgot to include "log"

If you were to generate a new gem with bundler, you'd see that it
collects the files by shelling out to "git ls-files".
This is easy because it'll specify everything that you consider to be
a part of your project, but it adds an unnecessary dependency on git
to generate the gem. By just using ruby to gather these files we
remove that dependency; the downside is that you need to remember
adding things like "log" because git isn't doing it for you. You could
argue that we're using git anyway, but I'm trying to make it a habit
to limit external dependencies and developers can still download the
code without using git at all.

On the issue of 1.9.2 support in 1.0: I would love it.
But I'm not putting effort toward that. I've been down that road and
hit enough bumps to throw it out and push forward with the release. If
anyone has the time, skill, and inclination to provide patches to
support ruby 1.9, please do send them!

There have been too many things that have held me back from releasing
and I don't want 1.9 to be another road block. I want to fix current
bugs in the RC, and move on to the Rails 3 branch to get that out
shortly after 1.0.

-Jim



On Thu, May 26, 2011 at 7:34 PM, Marshal Linfoot <mlinf...@gmail.com> wrote:
> Same thing happening to me. Ruby 1.8.7 (2010-08-16 patchlevel 302), so not a
> 1.9.2 problem.
>
> On Thu, May 26, 2011 at 7:00 PM, Wes Gamble <we...@att.net> wrote:
>>
>> Are we supposed to be able to install a Radiant app. with Radiant as a gem
>> with 1.0.0.rc1?
>>
>> Here's what happens when I try:
>>
>> $ radiant -d sqlite3 konditioning
>> NOTE: SourceIndex.new(hash) is deprecated; From
>> /Users/weyus/.rvm/gems/ruby-1.9.2-p180/gems/radiant-1.0.0.rc1/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100:in
>> `new'.
>>       create
>>       create  CHANGELOG
>>       create  CONTRIBUTORS
>>       create  INSTALL
>>       create  LICENSE
>>       create  README
>>       create  config
>>       create  config/environments
>>       create  config/environments/cucumber.rb
>>       create  config/environments/development.rb
>>       create  config/environments/production.rb
>>       create  config/environments/test.rb
>>       create  config/initializers
>>       create  db
>>       create  log
>> No such file or directory -
>> /Users/weyus/.rvm/gems/ruby-1.9.2-p180/gems/radiant-1.0.0.rc1/bin/../lib/generators/instance/templates/../../../../log
>>
>> I think this is a problem with the RC1 generator, not 1.9.2.  Happy to be
>> corrected, however.
>>
>> Wes
>>
> --
> marshal
>



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

Reply via email to