After upgrade to 1.0 my old stable application cannot recognize
DataMapper module:
uninitialized constant DataMapper (Name error)
Gems list:
dm-aggregates (1.0.0, 0.10.2)
dm-constraints (1.0.0, 0.10.2)
dm-core (1.0.0, 0.10.2)
dm-migrations (1.0.0, 0.10.2)
dm-serializer (1.0.0, 0.10.2)
dm-sweatshop (1.0.0, 0.10.2)
dm-timestamps (1.0.0, 0.10.2)
dm-transactions (1.0.0)
dm-types (1.0.0, 0.10.2)
dm-validations (1.0.0, 0.10.2)
I made a quick workaround with loader in my models:
do_version = '0.10.2'
dm_version = '0.10.2'
do_gems = ['data_objects', 'do_mysql']
dm_gems = ['dm-core', 'dm-types', 'dm-validations', 'dm-aggregates']
do_gems.each { |g| gem g, do_version }
dm_gems.each { |g| gem g, dm_version }
But still no results. The same issue.
Any ideas why?
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.