Friday, August 26, 2011

[Rails] Re: Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)

On Aug 25, 12:21 pm, "Anna.Garance" <anna.gara...@googlemail.com>
wrote:
> Hey guys,
>
> I'm a RoR-Beginner and I started learning it with the RoR-Tutorial.
> Actually I'm at this chapter (http://ruby.railstutorial.org/chapters/
> static-pages#top) and try to install rspec. But everytime when I try
> to use "rails g rspec:install" I get this error message:
>
> C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install
> C:/Sites/rails/rails_projects/sample_appp/config/application.rb:8:in
> `require':
> no such file to load -- sprockets/railtie (LoadError)

This might indicate a gem is missing.

what "gem list sprockets" display?

Did you ensure your bundle is installed (doing "bundle install" at the
project directory)

> Has anybody an idea to help me? I already tried to comment it out in
> the application.rb or to explicitly mention it in the gemfile. But I
> still get this error message.
>

See above questions, is sprockets gem installed?

--
Luis Lavena

--
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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate