简体   繁体   中英

What's the proper way to install rails after cloning from github?

I cloned rails 4 from github and want to install rails from the local repo. What's the best way to do the installation? I ran install.rb starting from a fresh gemset but it failed because of missing gems. Anyone know a post that walks through this? Should I do the install from the remote github repo first and then run the install.rb file?

Also, just want to be clear here. I am not trying to just install using gem install or using :git in my gem file. Please do not put those instructions in your comments. I absolutely want to install from a local clone, as a first step toward fixing Rails when I encounter bugs not fixed.

Bundle the local gem.

gem "rails", :path => "~/your/rails/checkout"
gem "activerecord", :path => "~/your/rails/checkout"

etc...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM