Installing activerecord sans gems.

Discussion in 'Ruby' started by Kyle Schmitt, Nov 20, 2007.

  1. Kyle Schmitt

    Kyle Schmitt Guest

    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
    Kyle Schmitt, Nov 20, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Danno
    Replies:
    2
    Views:
    321
    Danno
    Jan 27, 2006
  2. Dirk Kruisheer

    Sans-serif for the web

    Dirk Kruisheer, Aug 7, 2003, in forum: HTML
    Replies:
    10
    Views:
    624
    Toby A Inkster
    Aug 9, 2003
  3. Headless
    Replies:
    5
    Views:
    377
    Headless
    Sep 1, 2003
  4. Replies:
    16
    Views:
    3,147
    Jonathan N. Little
    Jan 24, 2006
  5. Tom Allison

    gems install - sans docs?

    Tom Allison, Jul 30, 2006, in forum: Ruby
    Replies:
    3
    Views:
    97
    Chad Fowler
    Jul 30, 2006
Loading...

Share This Page