Ruby on Rails
Tuesday, August 5, 2014
Here is my gemfile, it's also located there on the main directory:
source 'https://rubygems.org'# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'gem 'rails', '4.1.0'# Use sqlite3 as the database for Active Recordgem 'sqlite3'# Use SCSS for stylesheetsgem 'sass-rails', '~> 4.0.3'# Use Uglifier as compressor for JavaScript assetsgem 'uglifier', '>= 1.3.0'# Use CoffeeScript for .js.coffee assets and viewsgem 'coffee-rails', '~> 4.0.0'# See https://github.com/sstephenson/execjs#readme for more supported runtimes# gem 'therubyracer', platforms: :ruby# Use jquery as the JavaScript librarygem 'jquery-rails'# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinksgem 'turbolinks'# Build JSON APIs with ease. Read more: https://github.com/rails/jbuildergem 'jbuilder', '~> 2.0'# bundle exec rake doc:rails generates the API under doc/api.gem 'sdoc', '~> 0.4.0', group: :doc# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/springgem 'spring', group: :development# custom gemsgem 'devise'group :development, :test dogem 'rspec-rails', '~> 3.0.0'gem 'factory_girl_rails', "~> 4.0"gem 'guard-rspec', require: falseendgroup :test dogem 'shoulda-matchers', require: falseend
2014-08-05 11:48 GMT-03:00 Colin Law <clanlaw@gmail.com>:
On 5 August 2014 15:38, Diego Dillenburg Bueno
I don't see Gemfile there. What is in that file?<diegodillenburg@gmail.com> wrote:
> Hello all,
>
> I'm still learning rails and trying to dive into TDD as early as possible,
> but I got a problem which I couldn't solve. The deal is that I'm trying to
> activate the FactoryGirl Syntax and getting an "unitialized constant
> FactoryGirl (NameError)" when attempting to run my specs.
>
> Would appreciate any help given!
>
> Ps.: I'm reading Aaron Sumner's Everyday Rails Specs book, but it uses an
> older version of the gems, I don't know if the new RSpec has something to do
> with it, as now I got 2 files(rails_helper and spec_helper) differente from
> the old structure.
>
> For more information here is the repository link if you need more specific
> information about gemfile/spec configurations and such:
>
> https://github.com/diegodillenburg/codero/tree/dev
Have a look at railstutorial.org (which is free to use online). It
uses factorygirl and is up to date.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv7Ndq3yZpvm9_LFa0zp25F%3DdOXPKR%2BkXoHfstCf3%3D5HQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOHSkmF2YOzYFUSnacoPgKPEuHpf9p-XSipf9RLvUdYEbPJoXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment