Hi,
Using Macports or system Ruby?
On Apr 27, 2009, at 10:29 PM, Thomas Gallaway wrote:
I just spent 2 days figuring this out but it seems the issue is one
of the gems in the vendor/gems directory.
Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody else
dislike the new intel mac's? ;-) )
I completely removed ruby & made sure it was using the macports
version and after pretty much nuking every single gem and gem
install typo on a empty directory stll got this:
lhc:/var/www/atomlab root# rake db:create RAILS_ENV='production'
(in /private/var/www/atomlab)
config.gem: Unpacked gem calendar_date_select-1.15 in vendor/gems
has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no
specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no
specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem json-1.1.3 in vendor/gems has no
specification file. Run 'rake gems:refresh_specs' to fix this.
[BUG] cross-thread violation on rb_gc()
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
So I went ahead and mv vendor/gems/* /tmp/gems/
Of course now I was getting:
lhc:/var/www/atomlab root# rake db:create
(in /private/var/www/atomlab)
rake aborted!
no such file to load -- coderay
After
gem install coderay htmlentities json calendar_date_select
*drumroll*
lhc:/var/www/atomlab atom$ rake db:migrate RAILS_ENV='production'
(in /private/var/www/atomlab)
== InitialSchema: migrating
==================================================
-- create_table(:users)
-> 0.0712s
-- create_table(:articles)
-> 0.1310s
-- add_index(:articles, :permalink)
We have migrationage!
Oh I then ran
lhc:/var/www/atomlab atom$ sudo rake gems:unpack
Password:
(in /private/var/www/atomlab)
Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312'
Unpacked gem: '/private/var/www/atomlab/vendor/gems/
htmlentities-4.0.0'
Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4'
Unpacked gem: '/private/var/www/atomlab/vendor/gems/
calendar_date_select-1.15'
-- Atom
_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list
!DSPAM:49f696c7142991804284693!
_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list