Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialruby gupta
1,200 PointsError:Could not find gem 'devise (>= 0) ruby' in the gems available on this machine
I'm not able to install Gem Devise in my Project. I modified the Gemfile by adding gem devise. Then run:
$bundle
Eevn i run my bundle install,bundle update successful, with message :
"Your bundle is complete!
Use bundle show [gemname]
to see where a bundled gem is installed."
When i try to run:
$ rails generate devise:install
Error:Could not find gem 'devise (>= 0) ruby' in the gems available on this machine.
Run bundle install
to install missing gems.
After this message i run,
$ bundle install devise
But running a bundle install devise causes:- "Could not find gem 'devise"
My original GEMFILE looks like this:-----
source 'https://rubygems.org'
Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.6'
Use sqlite3 as the database for Active Record
gem 'sqlite3'
gem 'devise'
Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'