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.
- 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 …
-
If your app name is “nice-app”, make your directory like this
railsprojects/nice-app
-
First update rubygems and perhaps use rvm (ruby version manager)
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!
To learn Rails, checkout: 合肥籍演员杨洋回老家大杨村杨洋是安 合肥明星_被窝网