Displaying 20 results from an estimated 10000 matches similar to: "Could not find generator rspec:install."
2010 Oct 20
3
rspec error's when checking LayoutLinks from the railstutorials
I am following the rails tutorial:
http://railstutorial.org/chapters/filling-in-the-layout#top
Basically the test is something like:
spec/requests/layout_links_spec.rb
require ''spec_helper''
describe "LayoutLinks" do
it "should have a Home page at ''/''" do
get ''/''
response.should
2011 Aug 25
2
Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)
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
2012 Nov 06
2
rspec failure upon revisit
I just returned from a different project after taking a few weeks off of
my tutorial. I''m using Ruby on Rails 3 Tutorial - Learn Rails by
Example by Michael Hartl.
After rebooting my server I ran an rspec spec/ command to check to see
if there were any problems and this is what I received. I didn''t modify
anything except I did overwrite users_controller.rb and
2013 Mar 16
3
Do you ALWAYS use "bundle exec rspec spec" tests?
I''m going through Michael Hartl''s Rails tutorial, and I am happy to report
that (as of the end of section 7) I''m able to get things working. (That
said, I skipped the section on automated testing, as Hartl warned that
automated testing is the most likely part of his book to become outdated.)
There is a heavy emphasis on the "bundle exec rspec spec" tests.
2013 Oct 21
6
I think I've found a mistake in Rails tutorial
At the point of this section
*http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*<http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure>
clicking the "Create my account" button on the signup form shows the
following image at
<http://ruby.railstutorial.org/images/figures/signup_failure_rails_4.png>
According to the tutorial, I must modify
2011 Apr 27
2
rspec -> Could not find generator rspec_controller
for some reason, i cannot get the rspec generators to work. i am getting
the following:
$ rails generate rspec_controller
Could not find generator rspec_controller.
the rest of the parts of rspec (that i am familiar with) seem to be
doing just fine.
i am running:
* rails (3.0.5)
* rspec (2.6.0.rc2)
* rspec-core (2.6.0.rc2)
* rspec-expectations (2.6.0.rc2)
* rspec-mocks (2.6.0.rc2)
2012 May 24
0
Ruby on Rails Tutorial Chapter 6 RSpec tests failing
Hello all:
I''m a RoR newbie who is currently following the Ruby on Rails
Tutorial: Learning by Example book (http://ruby.railstutorial.org/
chapters/modeling-users#sec:adding_a_secure_password). The following
Chapter 6 RSpec tests are failing:
Failures:
1) User [31mFailure/Error:[0m [31mit { should be_valid }[0m
[31mexpected valid? to return true, got false[0m [36m # ./spec/models/
2011 May 08
1
Spork + Autotest Failure
Hi folks, I''m going through railstutorial.org and so I apologize if
I''m hitting the wrong group here and would appreciate any appropriate
redirection if necessary.
I''ve set up Spork + Autotest as per Michael''s instructions in
http://ruby.railstutorial.org/chapters/static-pages#sec:testing_tools
Essentially by doing the following (using rvm & I''m
2011 Jan 20
11
RSpec / Cucumber painfully slow Rails 3 OSX
I am working on my first Rails BDD project with extensive tests since
starting out with Rails a few years ago.
Running RSpec or Cucumber is really slow. I''m using Rails 3 and RSpec
2.
To run one model spec with only 5 tests takes almost 1 minute! When it
finishes it says it took only 0.9 seconds to run the actual test. So
obviously it is loading the environment that takes so long. I just
2011 Oct 02
5
tutorial: gravatar_image_tag problem
Hi all,
Still working through the Hartl tutorials. Making progress but am hitting
(another) wall.
The repository is on github at: git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:aamax/sample_app.git if you
want to see the code. I''ve pretty much followed the tutorial exactly except
I am using rails 3.1.0 rather than 3.0.1 and some of the other gem versions
are different.
I
2012 Jul 17
24
Static Pages from Railcast
Hi everyone,
I need several pages to be static but also modify when requested. I try
following the railcast from Ryan at
http://railscasts.com/episodes/117-semi-static-pages?view=comments
Here what I have done!!
rails g scaffold Pages name:string permanentlink:string title:string
author:string access_level:string is_published:boolean
meta_description:string meta_keyword:string
2011 Mar 02
3
Couldn't find 'rspec' generator
Hi,
I am trying to learn the RSpec but unfortunately I found all the
tutorials which are very old. Is anyone have latest tutorial?
I am following some tutorial, I have followed the following steps:-
1) gem install rspec
2) gem install rspec-rails
3) ./script/generate rspec
I am getting an error that "Couldn''t find ''rspec'' generator"
I have searched for this
2011 Sep 30
1
RoR running on Localhost but not on Heroku
Hey there,
I have been following http://ruby.railstutorial.org/chapters/beginning#top
since yesterday and I am going good on my machine with ROR. I have used
RailsInstaller for my environment on Windows7. My two apps are working good
on my localhost:3000 but as I put them into Heroku, I am getting error,
respectively, http://meinkampf.heroku.com and http://smoothipod.heroku.com.
I wonder
2007 Oct 22
1
installing rspec/rspec_on_rails as system wide generator (or similar)
Hi all,
What would be the best/easiest way of installing rspec as a system
wide generator so I''m not having to download it or ./script/plugin
install it every time?
Thanks,
Alastair
-----
Alastair Moore
Freelance web design, development and consultancy
t. 07983 983945
e. alastair at kozmo.co.uk
w. http://www.kozmo.co.uk
skype. alastair_kozmo
2011 Nov 12
4
No route matches [GET] "/microposts/304"
Hi all,
I''m learning Rails by Example (chapter 11), by Michael Hartl (
http://ruby.railstutorial.org/chapters/user-microposts#top) but I got no
route matches when I try to delete one micropost.
the _micropost html is...
<tr>
<td class="micropost">
<span class="content"><%= micropost.content %></span>
<span
2010 Oct 03
2
rspec-1.3.1.rc and rspec-rails-1.3.3.rc are released!
rspec-1.3.1.rc and rspec-rails-1.3.3.rc are released!
These are release candidate gems for updates 1.x series, including some bug fixes and deprecation warnings for functionality that will be removed in rspec-2.
Barring unexpected complications, I''ll release final versions of these gems within the next week.
Cheers,
David
2009 Mar 08
2
rspec 1.1.99.12, Rails 2.3.1, undefined method `rspec_options=''
Hi David, all:
I recently upgraded to Rails 2.3.1RC2 (Ubuntu 8.10, ruby 1.8.7
(2008-08-11 patchlevel 72) [i486-linux]) and have been dilligently
following the instructions for upgrading rspec and rspec-rails
according to: http://wiki.github.com/dchelimsky/rspec/rails-with-rspec-gems.
and when I run ''rake gem'' fails with error:
rake aborted!
undefined method
2007 Aug 13
3
RSpec-1.0.8
The RSpec Development Team is pleased to announce the release of RSpec-1.0.8.
RSpec 1.0.6 is the "holy cow, batman, it''s been a long time since we
released and there are a ton of bug fixes, patches and even new
features" release. RSpec 1.0.7 and 1.0.8 deal with a regression
introduced in 1.0.6 and a hiccup in releasing 1.0.7, respectively.
== RSpec
RSpec is a Behaviour Driven
2006 Dec 23
2
Having trouble installing the Rails plugin with Rspec 0.7.5
Hi,
I''m running Rails 1.1.6 and just installed RSpec 0.7.5. When I try to
install the appropriate Rails plugin, it just says that "Export Complete"
and doesn''t install anything to vendor. I can do it with older version, but
then it''s not compatible with RSpec. Any ideas?
blissdev:~/code/rails/client/wordone > ruby script/plugin install
2008 Jun 11
11
rspec and rspec-rails install hell
I am attending a training course covering rspec. I am using a MS WinXPpro SP3
machine. I have installed the cygwin environment. I am using git 1.5.4. I am
using ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] and rails 2.0.2
(albeit rails 2.1.0 is installed as well)
I had to install rspec-rails and rspec via git and as a gem.
Problem 1.
If one goes to the rspec.info website and links