require 'spec_helper'

I have an error
Desktop/Pictographs/config/boot.rb:1:in `require': no such file to
load -- rubygems (LoadError)

but i did "rails g rspec:install" and i have a spec_helper.rb in the
spec directory..

why does it complain that missing file?

please help

Yennie

~Test File~

require 'spec/spec_helper'
describe "UsersController" do
  describe "GET Index" do
     it "should do something"do
     end
  end
end

I have an error
Desktop/Pictographs/config/boot.rb:1:in `require': no such file to
load -- rubygems (LoadError)

./spec/functionals/user_controller_spec.rb:1:in `require': no such
file to load -- ./spec/functionalsspec_helper (LoadError)
=> this is a problem.. does anyone know to fix it...

Hi mate,
I am not exactly sure about it but as you can see It is trying to load
functionalsspec_helper (LoadErro

Although it seems like the sign ‘/’ is missing /functionals/spec
Make sure that file exist :slight_smile:
Try to run bundle install to.

Edit this file ./spec/functionals/user_controller_spec.rb:1:in `require’: no such
And add slash / :slight_smile: