Neville Smith

Joined

140 Experience
0 Lessons Completed
0 Questions Solved

Activity

no it isnt a vm install. I too am uncertain of why I have that error.

ERROR: Could not find a valid gem 'pg' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
ERROR: Could not find a valid gem '0.18.3' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

This is actually the entire message.

Hopefully this is the final error. I ran bundle install and got the following error:

An error occurred while installing pg (0.18.3), and Bundler cannot
continue.
Make sure that gem install pg -v '0.18.3' --source 'https://rubygems.org/'
succeeds before bundling.

I can confirm the that the rails version is correct and the ruby version is correct. Should I now mve the folder labeled myapp? Should I set up the database on the machine first?

Ok that is done. Thank you. Now do I just move the folder with the app to that machine and attempt to start the rails server?

I think I didnt attempt specific versions when I tried these instructions. Just the latest and it gave me the error I stated in my initial post.

I reinstalled everything including the OS and the latest error is listed below. let me know if you have any ideas.

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- bundler/setup (LoadError)
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from /home/nevillesmith/webapp/config/boot.rb:3:in <top (required)>'
from bin/rails:7:in
require_relative'
from bin/rails:7:in `

'

Thank you Jacob. I will try to do just that and report the results. I appreciate you getting back to me.

I am taking over an app that has not been developed for a few years. Currently the app is on Github and I have a local Ruby on Rails install on my Ubuntu 16.04 box which I have a copy of the master on where I keep running into the following error:Your Ruby version is 2.5.3 but your Gemfile specified 2.3.1 . I have run bundle update and bundle install to no avail please advise.