How to import ruby on rails project

北战南征 提交于 2019-12-13 20:25:04

问题


I am trying to import a project that someone else build 1 year ago, now my mac have already installed all below which include:

  • ruby, rails and mysql

  • paperclip

  • dragonfly

  • authlogic

  • sqlite3-ruby

  • uuid

  • rmagick

  • thin or mongrel

  • nokogiri

  • rack-cache

  • pony

  • tiny_mce

could any one tell how to import the project, or any link on line can help me?


回答1:


There is no such thing called import a rails project, If you have ruby installed, the you could use bundler to manage your gems via the Gemfile

if your project is built with rails >= 3 then read this

if your project is build with rails < 3 then read this

and once you are ready with the setup run

bundle install

which will install all the necessary gems, and if you already have a Gemfile, then simply run

bundle update


来源:https://stackoverflow.com/questions/14763377/how-to-import-ruby-on-rails-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!