|
||||||||
Ruby on Rails Tips
Finding out list of gems (including rails) and version numbers installed on your machinecmd window > gem list --local Running Rails Locally --- typically runs at http://127.0.0.1:3000 (port 3000) OR http://localhost:3000After you hit RUN in your IDE, then you go to a browser and type in http://127.0.0.1:3000/YOURAPP_PATH_URI
WHY above do you not see your application& only see the webpage in previous image--> because you need to specify a ROUTE from a URI to the appropriate Controller in your appInstall
Install Problem:Problem: When executing gem install rails get following error (SSL issue) ERROR: Could not find a valid gem 'rails' (= 3.2.13), here is why:
Solution: (found on internet--- add http site rather than default https to get around SSL problem). gem sources -a http://rubygems.org When Running (especially windows get error = No source of timezone data could be found. (TZInfo::DataSourceNotFound)
|
||||||||
© Lynne Grewe |