Installing activerecord sans gems.

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_table:)users)
/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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,701
Latest member
XavierQ83

Latest Threads

Top