Aruna Chinnamuthu
2010-Aug-10 08:30 UTC
[rspec-users] how to place the app in the rails dir
Hi i am new to ROR . I have mentioned to work on Rspec.. i have a code given by my boss.. I am having doubts in using them. 1. How should i keep that code in my railsprojects directory.. Should i keep the package given by them directly in my directory or i have to use rails appname 2.I actually tried by keeping the code in my rails dir and changes the database.yml file But when i try to run script/server . i am getting an error as /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load -- feedzirra (MissingSourceFile) y so ?? Pls guide me .. -- Posted via http://www.ruby-forum.com/.
Kristian Mandrup
2010-Aug-11 06:54 UTC
[rspec-users] how to place the app in the rails dir
1) If your app name is "nice-app", make your directory like this railsprojects/nice-app 2) First update rubygems and perhaps use rvm (ruby version manager) http://railscasts.com/episodes?page=3 See railscast 200 and 201. Bundler can also be used for Rails 2 I think ;) Which version of Rails are you using? In any case, try this to download and install the missing gem locally $ gem install feedzilla Check it was installed $ gem list feedzilla To install all gems needed by your app for Rails 2, try $ rake gems:install for Rails 3 $ bundle install This should install all gems required by your application ;) Find some Rails tutorials and start from there. I learned by going through the Railscast episodes myself... Good luck! On Aug 10, 10:30?am, Aruna Chinnamuthu <li... at ruby-forum.com> wrote:> Hi i am new to ROR . > I have mentioned to work on Rspec.. > i have a code given by my boss.. > I am having doubts in using them. > 1. How should i keep that code in my railsprojects directory.. Should i > keep the package given by them directly in my directory or i have to use > rails appname > 2.I actually tried by keeping the code in ?my rails dir and changes the > database.yml file > > But when i try to run script/server . > i am getting an error as > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require'': no such file to load -- feedzirra > (MissingSourceFile) > > y so ?? > Pls guide me .. > -- > Posted viahttp://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users