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 3225086
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:17:55+00:00 2026-05-17T16:17:55+00:00

Here is my Gemfile gem ‘rails’, ‘3.0.0’ … gem ‘haml-rails’ gem ‘jquery-rails’ group :test

  • 0

Here is my Gemfile

gem 'rails', '3.0.0'
...
gem 'haml-rails'
gem 'jquery-rails'

group :test do
  gem 'shoulda'
  gem 'rspec'
  gem 'rspec-rails'
  gem 'factory_girl'
end

gem 'rails3-generators', :group => :development
...

I run bundle install/update. And then not all new generators (from rails3-generators) are added. haml generators are also missing:

artem:~/projects/merjis (master)$ rails g
...

Please choose a generator below.

Rails:
  controller
  generator
  helper
  integration_test
  mailer
  migration
  model
  observer
  performance_test
  plugin
  resource
  scaffold
  scaffold_controller
  session_migration
  stylesheets

ActiveRecord:
  active_record:devise

Authlogic:
  authlogic:session

Devise:
  devise
  devise:install
  devise:views

Jquery:
  jquery:install

Koala:
  koala:install

MongoMapper:
  mongo_mapper:install

Mongoid:
  mongoid:devise
  mongoid:install

Mustache:
  mustache:install

Rspec:
  rspec:install

What am I missing?

EDIT

As @shingara pointed, not all but only some generators are missing

  • 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-05-17T16:17:56+00:00Added an answer on May 17, 2026 at 4:17 pm

    Factory girl, shoulda and haml do not have ‘explicit’ generators you can call using rails generator. You need to configure your application. Haml is automatic (through the haml-rails gem, so from now on, each time a model is generated, it will generate haml views.

    For the factory-girl you have to edit config\application.rb and add

    # Configure generators values
    config.generators do |g|    
      g.test_framework  :rspec, :fixture => true  
      g.fixture_replacement :factory_girl, :dir=>"spec/factories"
    end
    

    and shoulda you just need to require in your spec_helper.

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

Sidebar

Related Questions

Here is my gemfile: source 'https://rubygems.org' gem 'rails', '3.2.2' # Bundle edge Rails instead:
Here is my Gemfile : source 'http://rubygems.org' gem 'rails', '3.0.0' gem 'sqlite3-ruby', :require =>
In my rails application I am trying to use rails3-jquery-autocomplete gem. I included the
I want to write a gem that, once bundled to a Rails 3.1 Gemfile,
Here is my Gemfile source :rubygems gem 'rake', '0.9.2.2' gem 'sinatra' gem 'activerecord', '3.0.9'
Gemfile: gem 'rails', '3.1.0.rc4' gem 'typus', :git => 'http://github.com/typus/typus', :branch => '3-1-unstable' Obviously the
After I added the devise_rpx_connectable gem to my Gemfile, I cannot run rails server
I try to put Factory_girl in my Rails apps for testing. Here is part
Here's my code in the <head></head> : <link rel=stylesheet href=http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css /> <script type=text/javascript src=http://code.jquery.com/jquery-1.7.1.min.js></script>
I am trying to test coffee script in my rails 3.1 project, but it

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.