如何在rails项目上导入ruby

时间:2023-02-06 07:33:12

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

我试图导入一个别人在1年前建立的项目,现在我的mac已经安装了以下所有包括:

  • ruby, rails and mysql

    ruby,rails和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 个解决方案

#1


3  

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

没有这样的东西称为导入rails项目,如果你安装了ruby,你可以使用bundler通过Gemfile来管理你的宝石

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

如果您的项目是使用rails> = 3构建的,那么请阅读此内容

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

如果您的项目是使用rails <3构建的,那么请阅读此内容

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

这将安装所有必要的宝石,如果你已经有一个Gemfile,那么只需运行

bundle update

#1


3  

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

没有这样的东西称为导入rails项目,如果你安装了ruby,你可以使用bundler通过Gemfile来管理你的宝石

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

如果您的项目是使用rails> = 3构建的,那么请阅读此内容

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

如果您的项目是使用rails <3构建的,那么请阅读此内容

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

这将安装所有必要的宝石,如果你已经有一个Gemfile,那么只需运行

bundle update