SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rake Aborted (Setting up subdomain)

    The developer just gave me a new version of the website to upload to the subdomain. I am setting it up, I ran this command, and it isn't working. No rake commands are working.

    What is going wrong?

    -bash-3.1$ rake db:schema:load RAILS_ENV=production
    (in /home/admin/*****)
    rake aborted!
    no such file to load -- ar-extensions

    The website shows:
    ____________________________________________
    A source file that the application requires, is missing.

    *
    It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
    *
    A required library may not installed. Please install all libraries that this application requires.

    Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.

    Error message:
    no such file to load -- ar-extensions
    Exception class:
    LoadError
    ____________________________________________

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,290
    Mentioned
    198 Post(s)
    Tagged
    3 Thread(s)
    Hi tesseract1, welcome to the forums.

    "ar" refers to Active Record. i.e the ActiveRecord::Extensions library used for bulk data importing. It sounds like you don't have it installed as either a library or a plugin.

  3. #3
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, you're right. This was the issue. I had to remove a couple lines from the config files to get it to work.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •