Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7826761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:33:49+00:00 2026-06-02T09:33:49+00:00

trying to start WEBrick: rails s => Booting WEBrick => Rails 3.1.1 application starting

  • 0

trying to start WEBrick:

rails s

=> Booting WEBrick
=> Rails 3.1.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
DEPRECATION WARNING: Change Factory.define to FactoryGirl.define
Exiting
/home/shawn/.rvm/gems/ruby-1.9.2-p318/gems/factory_girl-2.6.1/lib/factory_girl/syntax/default.rb:6:in `define': wrong number of arguments (1 for 0) (ArgumentError)
    from /home/shawn/.rvm/gems/ruby-1.9.2-p318/gems/factory_girl-2.6.1/lib/factory_girl/deprecated.rb:5:in `method_missing'

It’s surprising to me because everything is freshly installed, and the same gemset works perfectly for others sharing the repository.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T09:33:52+00:00Added an answer on June 2, 2026 at 9:33 am

    From the ThoughtBot website http://robots.thoughtbot.com/post/7176629856/factory-girls-new-look

    Notice this diff it looks like they ran into the same issue.

    Somewhere you or someone is making a call to Factory.define when you should be calling FactoryGirl.define

    grep -ir 'Factory.define' * from the application root directory should give you more details of exactly where you’re making that mistake. If it doesn’t return anything then you know it’s not your app, it’s some Gem (which is what the trace shows).

    If that’s the case I’d try gem uninstall factory_girl and gem install factory_girl to get a fresh version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service,
trying to start Rails server and getting a warning I don't understand. Anyone know
I'm trying start java application but in browser i see standard tomcat's page. Server
Im trying to start my rails application on ubuntu 11.10, but im hitting the
I'm trying to start a new ASP.NET Web Application Project using Visual Studio 2008.
I'm trying to start modifying an existing application with Eclipse. Actually I had it
I'm trying to start doing Android development on OS X (trying is the key
I am trying to start a Gui tray application from a windows service (LocalSystem)
I'm trying to start from scratch with all my keys for iOS development by
I am trying to Run (F6) a Rails application from NetBeans 6.8 and when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.