Attempting to install Devise and receiving the following message "Could not find the devise generator: install."
leigh@leigh-VirtualBox :~/Projects/dev01$ bundle install Using rake 10.3.2 Using i18n 0.6.11 Using json 1.8.1 Using minitest 5.4.0 Using thread_safe 0.3.4 Using tzinfo 1.2.1 Using activesupport 4.1.4 Using builder 3.2.2 Using erubis 2.7.0 Using actionview 4.1.4 Using rack 1.5.2 Using rack-test 0.6.2 Using actionpack 4.1.4 Using mime-types 1.25.1 Using polyglot 0.3.5 Using treetop 1.4.15 Using mail 2.5.4 Using actionmailer 4.1.4 Using activemodel 4.1.4 Using arel 5.0.1.20140414130214 Using activerecord 4.1.4 Using execjs 2.2.1 Using autoprefixer-rails 2.1.1.20140710 Using bcrypt 3.1.7 Using sass 3.2.19 Using bootstrap-sass 3.2.0.0 Using thor 0.19.1 Using railties 4.1.4 Using bootswatch-rails 3.2.0 Using coffee-script-source 1.7.1 Using coffee-script 2.3.0 Using coffee-rails 4.0.1 Using data-confirm-modal 1.0.1 from git://github.com/ifad/data-confirm-modal.git (at master) Using declarative_authorization 0.5.7 Using orm_adapter 0.5.0 Using warden 1.2.3 Using devise 3.2.4 Using hike 1.2.3 Using multi_json 1.10.1 Using jbuilder 2.1.3 Using jquery-rails 3.1.1 Using bundler 1.6.4 Using tilt 1.4.1 Using sprockets 2.11.0 Using sprockets-rails 2.1.3 Using rails 4.1.4 Using rdoc 4.1.1 Using sass-rails 4.0.3 Using sdoc 0.4.0 Using spring 1.1.3 Using sqlite3 1.3.9 Using turbolinks 2.2.2 Using uglifier 2.5.3 Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. leigh@leigh-VirtualBox :~/Projects/dev01$ rails generate devise:install Could not find generator devise:install. leigh@leigh-VirtualBox :~/Projects/dev01$
My gemfile:
source 'https://rubygems.org'
Rails Version:
leigh@leigh-VirtualBox :~/Projects/dev01$ rails -v Rails 4.1.4 leigh@leigh-VirtualBox :~/Projects/dev01$
OS Version:
leigh@leigh-VirtualBox :~/Projects/dev01$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty leigh@leigh-VirtualBox :~/Projects/dev01$
Any ideas as to why the Devise gem will not be installed after properly adding it to the Gemfile and starting the package installation?
I had a server running at one point (rails server) and saw an article stating that trying to install Devise while the server might cause strange problems.
Since then, I tried again with the server, but had no difference. I am sure that this is probably due to something really simple that I forgot in the setup, I just don't know where else to look.
Any tips or suggestions on where to look further would be great, thanks.
I tested using the command below, but still got the same error:
leigh@leigh-VirtualBox :~/Projects/dev01$ bundle exec rails g devise:install Could not find generator devise:install.
The list of installed generators is given below, but Devise is not specified, how to get it?
leigh@leigh-VirtualBox :~/Projects/dev01$ rails generate Usage: rails generate GENERATOR [args] [options] General options: -h, [--help]
ruby ruby-on-rails devise
shwashbuckle
source share