# How to start an edge rails app

**URL:** <https://www.ruby-forum.com/t/how-to-start-an-edge-rails-app/187643>\
**Category:** Rails\
**Created:** [April 27, 2010, 10:06am UTC](https://www.ruby-forum.com/t/how-to-start-an-edge-rails-app/187643 "2010-04-27T10:06:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [April 27, 2010, 10:06am UTC](https://www.ruby-forum.com/t/how-to-start-an-edge-rails-app/187643/1 "2010-04-27T10:06:34Z")

</div>

I want to check out an issue in edge rails. I’ve never used edge  
before and am having a lot of trouble getting it up and running.

Following modified instructions from

> **[How To Start A Rails Edge App The Easy Way · devroom.io](https://www.devroom.io/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/)**
>
> Ariejan de Vroom's personal website on software engineering, electronics tinkering and car mechanics.

$ mkdir -p app/vendor  
$ cd app  
$ git clone git://github.com/rails/rails.git vendor/rails  
$ ruby vendor/rails/railties/lib/rails/cli.rb .  
vendor/rails/railties/lib/rails/cli.rb:27:in `require': no such file to load -- rails/ruby_version_check (LoadError) from vendor/rails/railties/lib/rails/cli.rb:27:in `’

But the file rails/ruby\_version\_check is definitely present. It seems  
like ‘require’ is not searching the correct path in vendor/rails/  
railties/lib. Help?

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [April 27, 2010, 6:57pm UTC](https://www.ruby-forum.com/t/how-to-start-an-edge-rails-app/187643/2 "2010-04-27T18:57:01Z")

</div>

So I got it to work by executing the command from within the app/  
vendor/rails/railties/lib directory (from where the relative path  
rails/ruby\_version\_check does exist), but this only gets me as far as  
the next “`require’: no such file to load” error. How do I deal with  
all these relative load paths that aren’t in my $LOAD\_PATH?

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [April 28, 2010, 1:07am UTC](https://www.ruby-forum.com/t/how-to-start-an-edge-rails-app/187643/3 "2010-04-28T01:07:38Z")

</div>

bitsweat in #rails-contrib helped me out. railties/lib/rails/cli.rb  
is the wrong script. He pointed me to  
[rails.info](http://guides.rails.info/3_0_release_notes.html#living-on-the-edge),  
which told me to use the script railties/bin/rails. Then bitsweat  
corrected that page. The correct script is bin/rails (no railties).  
After that, everything is working. Thanks bitsweat!

I wonder who I can contact to fix that page…
