1

Does anyone know what's happening here?

root@ip-172-31-5-114:/home/bitnami/htdocs/kicksharer/kickscraper# gem install rails
Successfully installed rails-5.0.0.1
Parsing documentation for rails-5.0.0.1
Done installing documentation for rails after 0 seconds
1 gem installed
root@ip-172-31-5-114:/home/bitnami/htdocs/kicksharer/kickscraper# bundle show rails-5.0.0.1
Could not find gem 'rails-5.0.0.1'.

Any suggestions for troubleshooting would be really appreciated.

1
  • What do you expect to happen? Why? What does the bundle show documentation say? Commented Nov 19, 2016 at 23:44

1 Answer 1

2

When you gem install rails it installs it on your system. You need to make sure rails is specified in your gem file and then bundle install in order to install those gems in the bundle. (It should use the already installed gems on your system)

Sign up to request clarification or add additional context in comments.

1 Comment

Also, you cannot do bundle show GEM-VERSION, so after fiddling with the Gemfile run bundle show rails.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.