K
Kyle Schmitt
Hopefully this won't sound too odd, but I want to install activerecord
& its dependencies on a box without rubygems.
I've grabbed and installed activesupport, sqlite3 and activerecord,
and they seem to be installed OK, but even the simplest active record
app dies when it hits creating a schema. Any thoughts as to what I'm
missing?
Thanks,
Kyle
[kschmitt@wrk]$ ./main.rb
-- create_tableusers)
/usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:495:in
`require': can't convert Symbol into String (TypeError)
from /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:495:in
`require'
from /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:342:in
`new_constants_in'
from /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:495:in
`require'
from /usr/lib/ruby/site_ruby/1.8/active_support/core_ext/kernel/requires.rb:7:in
`require_library_or_gem'
from /usr/lib/ruby/site_ruby/1.8/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/site_ruby/1.8/active_support/core_ext/kernel/requires.rb:5:in
`require_library_or_gem'
from /usr/lib/ruby/site_ruby/1.8/active_record/connection_adapters/sqlite_adapter.rb:14:in
`sqlite3_connection'
from /usr/lib/ruby/site_ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:262:in
`send'
... 9 levels...
from ./main.rb:13
from /usr/lib/ruby/site_ruby/1.8/active_record/schema.rb:43:in
`instance_eval'
from /usr/lib/ruby/site_ruby/1.8/active_record/schema.rb:43:in `define'
from ./main.rb:12
& its dependencies on a box without rubygems.
I've grabbed and installed activesupport, sqlite3 and activerecord,
and they seem to be installed OK, but even the simplest active record
app dies when it hits creating a schema. Any thoughts as to what I'm
missing?
Thanks,
Kyle
[kschmitt@wrk]$ ./main.rb
-- create_tableusers)
/usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:495:in
`require': can't convert Symbol into String (TypeError)
from /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:495:in
`require'
from /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:342:in
`new_constants_in'
from /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:495:in
`require'
from /usr/lib/ruby/site_ruby/1.8/active_support/core_ext/kernel/requires.rb:7:in
`require_library_or_gem'
from /usr/lib/ruby/site_ruby/1.8/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/site_ruby/1.8/active_support/core_ext/kernel/requires.rb:5:in
`require_library_or_gem'
from /usr/lib/ruby/site_ruby/1.8/active_record/connection_adapters/sqlite_adapter.rb:14:in
`sqlite3_connection'
from /usr/lib/ruby/site_ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:262:in
`send'
... 9 levels...
from ./main.rb:13
from /usr/lib/ruby/site_ruby/1.8/active_record/schema.rb:43:in
`instance_eval'
from /usr/lib/ruby/site_ruby/1.8/active_record/schema.rb:43:in `define'
from ./main.rb:12