Bob Benedict
Bob Benedict

Reputation: 467

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.

Upvotes: 0

Views: 199

Answers (1)

rewritten
rewritten

Reputation: 16435

Bundle the local gem.

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

etc...

Upvotes: 2

Related Questions