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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jul 6, 8:47 pm, Yennie <joanne0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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...> > 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-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 :) Try to run bundle install to. On Jul 7, 2011 3:02 AM, "Yennie" <joanne0558-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > > On Jul 6, 8:47 pm, Yennie <joanne0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > 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... > > > > > 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 > > -- > You received this message because you are subscribed to the Google Groups"Ruby on Rails: Talk" group.> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email torubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org> For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.>-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Edit this file ./spec/functionals/user_controller_spec.rb:1:in `require'': no such And add slash / :) On Jul 8, 2011 8:50 AM, "Rafal Zdziech" <rzdziech-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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 :) > Try to run bundle install to. > > > On Jul 7, 2011 3:02 AM, "Yennie" <joanne0558-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > On Jul 6, 8:47 pm, Yennie <joanne0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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... > > > > > > > > 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 > > > > -- > > You received this message because you are subscribed to the GoogleGroups "Ruby on Rails: Talk" group.> > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email torubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org> > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.