# Files are missing in rails app

**URL:** <https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442>\
**Category:** Rails\
**Created:** [January 28, 2010, 6:31am UTC](https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442 "2010-01-28T06:31:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![geethasg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@geethasg](https://www.ruby-forum.com/u/geethasg)\
**Post date:** [January 28, 2010, 6:31am UTC](https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442/1 "2010-01-28T06:31:23Z")

</div>

I’ve built the slackware packages of rails.

rails path is: /frm/ruby/1.8.6/lib/ruby/site\_ruby/1.8

RUBYLIB :  
/frm/ruby/1.8.6/lib/ruby/site\_ruby/1.8:/frm/ruby/1.8.6/lib/ruby/site\_ruby/1.8/i686-linux/

I could created the rails application, but files are missing.

Config  
- boot.rb, database.yml, environment.rb and routes.rb  
Public  
- 404.html,500.html,dispatch.fcgi,favicon.ico,index.html,422.html,  
dispatch.cgi  
and dispatch.rb

Script  
- about, console, dbconsole, destroy, generate, plugin,  
runner,server  
Test  
-test\_helper.rb

I am getting below error on while creating the app.

No such file or directory -  
/usr/bin/…/lib/rails\_generator/generators/applications/app/…/…/…/…/…/fresh\_rakefile

Please help

---

<div class="post-metadata">

**Author:** ![geethasg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@geethasg](https://www.ruby-forum.com/u/geethasg)\
**Post date:** [January 28, 2010, 11:46pm UTC](https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442/2 "2010-01-28T23:46:03Z")

</div>

On Jan 28, 12:31 am, Geetha Sg [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ```
> - boot.rb, database.yml, environment.rb and routes.rb
> 
> ```
> 
> I am getting below error on while creating the app.
> 
> No such file or directory -  
> /usr/bin/…/lib/rails\_generator/generators/applications/app/…/…/…/…/…/ fresh\_rakefile
> 
> Please help
> 
> Attachments:[http://www.ruby-forum.com/attachment/4436/rails.slackbuild](http://www.ruby-forum.com/attachment/4436/rails.slackbuild)

You are aware that the other files in the railties directory are  
important, right? The attached shell script only appears to copy over  
railties/bin and railties/lib, which == FAIL.

On a more serious note, why are you trying to install Rails without  
Rubygems? You’ll need it for the 2.3.x versions anyways, as even  
freezing gems in RAILS\_ROOT/vendor/gems requires the Rubygems package.

–Matt J.

---

<div class="post-metadata">

**Author:** ![geethasg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@geethasg](https://www.ruby-forum.com/u/geethasg)\
**Post date:** [January 29, 2010, 8:10am UTC](https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442/3 "2010-01-29T08:10:56Z")

</div>

Thanks for the reply.

I’ve installed rubygems-2.3.4 and ruby-1.8.6.

I will install other files of railties and let me know.

regards  
sagi…

---

<div class="post-metadata">

**Author:** ![geethasg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@geethasg](https://www.ruby-forum.com/u/geethasg)\
**Post date:** [January 29, 2010, 10:34am UTC](https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442/4 "2010-01-29T10:34:33Z")

</div>

Please let me know where to copy the railties files?

---

<div class="post-metadata">

**Author:** ![geethasg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@geethasg](https://www.ruby-forum.com/u/geethasg)\
**Post date:** [January 29, 2010, 10:52am UTC](https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442/5 "2010-01-29T10:52:11Z")

</div>

rake:freeze:gems

On Fri, Jan 29, 2010 at 3:04 PM, Geetha Sg [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
Regards:  
Rajeev sharma  
+919813270707

---

<div class="post-metadata">

**Author:** ![geethasg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@geethasg](https://www.ruby-forum.com/u/geethasg)\
**Post date:** [January 30, 2010, 4:35am UTC](https://www.ruby-forum.com/t/files-are-missing-in-rails-app/182442/6 "2010-01-30T04:35:06Z")

</div>

i am new to rails… sorry… i dont understand that where should run this  
rake task? please help me…
