views:

7

answers:

0

I have installed rails gems in netbeans(on windows). However when I run the app, it says it cannot connect to the server. For example for ruport, I had these lines in environment.rb file.

Rails::Initializer.run do |config|
config.after_initialize do
require "ruport"
end
end

config.load_paths += %W( #{RAILS_ROOT}/app/reports )

In the model:
acts_as_reportable

I am not very familiar with using gems/plugins in netbeans. I would appreciate if I could get some suggestions on how to install rails plugins in netbeans from external sites like github and how to use/include gems in code.

Thanks