Hai All

 I am newbie for the rails environment.


 I want to know how to connect the Sqlserver 2005 to the rails
application.

 I have tried from the link
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServer

 1) gem install activerecord-sqlserver-adapter
--source=http://gems.rubyonrails.org

 2) downloaded the ruby-dbi gem and pasted in the ruby/bin directory

 3) In database.yml

 development:
  adapter: sqlserver
  database: elite_db
  host: ANG-LAPTOP
  username: sa
  password:



  the error iam getting is

=> Booting WEBrick...
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
C:/Program Files/NetBeans
6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:512:in
`require': Please install the sqlserver adapter: `gem install
activerecord-sqlserver-adapter` (no such file to load --
active_record/connection_adapters/sqlserver_adapter) (RuntimeError)
        from C:/Program Files/NetBeans
6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39
        from C:/Program Files/NetBeans
6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:27:in
`require'
        from C:/Program Files/NetBeans
6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from script\server:3



 then i tried with the

 1) gem install jruby-openssl ( installed this one)

again getting the same error.

kindly note it, iam working in the netbeans IDE 6.5, but running my
project in the installed ruby 1.8.6 and webrick server.


2) then i tried with the rails plugins installations in the netbeans IDE
itself, getting partial installed openssl, stating needed svn.

3) i installed .svn client in my machine.

 but i dont know how to add the svn in the netbeans IDE. TELL ME.



 kindly reply me soon.

---->how to use the sqlserver 2005 to the rails application.

----->and then how to access the sqlserver from another machine ( a
common server) in my rails application in my machine.

I have one more doubt can we access the webrick server or mongrel server
from another machine to deploy my rails application.

 ex:  railsapplication A in the my machine ( using ruby 1.8.6)

      webrick server in another machine  ( different host)

Is it possible.

kindly give me you valuable suggestions.

thanks

Angaps
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to