[Rails] Re: SQLServer 2008 and Windows XP

2010-11-15 Thread Fredrik TiC Jansson
I had similar problems on windows server 2003 try the steps in the link below and it should work ( i use mongrel as my webserver) http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/90bac21d2f5d2616/908fbcaed47c5259#908fbcaed47c5259 On 15 Nov, 11:32, "Magnus D." wrote: > I'm t

[Rails] Using geokit-rails3 and getting Unknown key(s): bounds

2010-11-15 Thread Fredrik TiC Jansson
Hello posted this question in the Geokit group but there seems to be very little activity in that forum som i will try here instead. No on to my little problem class IntrestPoint < ActiveRecord::Base acts_as_mappable :default_units => :kilometers, :lat_column_name => :lattitu

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-27 Thread Fredrik TiC Jansson
Laibow-Koser wrote: > Fredrik TiC Jansson wrote in post #957147: > > > Windows server 2003 > > > the app was originally developed on OSX snow leopard using just > > sqlite3 and i sucessluffy migrated it and got it running without a > > hitch on win server 2003 > >

[Rails] Re: Trubelshooting MS Sql database connection

2010-10-27 Thread Fredrik TiC Jansson
our SQLServer2008 database On 26 Okt, 15:18, Rodolinux wrote: > It's not my tutorial. Just I found it some days ago > > On Tue, Oct 26, 2010 at 9:41 AM, Fredrik TiC Jansson < > > > > fredrikjansson1...@gmail.com> wrote: > > Thanks seems rather comprehensive i

[Rails] Re: Trubelshooting MS Sql database connection

2010-10-27 Thread Fredrik TiC Jansson
our SQLServer2008 database On 26 Okt, 15:18, Rodolinux wrote: > It's not my tutorial. Just I found it some days ago > > On Tue, Oct 26, 2010 at 9:41 AM, Fredrik TiC Jansson < > > > > fredrikjansson1...@gmail.com> wrote: > > Thanks seems rather comprehensive i

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-26 Thread Fredrik TiC Jansson
After som experimenting i am totally and utterly lost. I run bundle install on my bundle and for example get using ruby-odbc i then when i start my rails server get require: no such file to load -- ruby-odbc why? On 26 Okt, 15:17, Fredrik TiC Jansson wrote: > Thinking this was just a wind

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-26 Thread Fredrik TiC Jansson
such file to load -- odcb error ! i have had som other errors which where solved by manually moving the files to the ruby appears to be looking for them but i am suspecting this is not the way to do it. On 26 Okt, 11:00, Fredrik TiC Jansson wrote: > Windows server 2003 > > the app was o

[Rails] Re: Trubelshooting MS Sql database connection

2010-10-26 Thread Fredrik TiC Jansson
Thanks seems rather comprehensive i will go through your tutorial. On 26 Okt, 13:18, Rodolinux wrote: > On Tue, Oct 26, 2010 at 5:41 AM, Fredrik TiC Jansson < > > > > fredrikjansson1...@gmail.com> wrote: > > Hello i have been atempting to move a project from sqlite d

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-26 Thread Fredrik TiC Jansson
, radhames brito wrote: > @Fredrik TiC Jansson > > What os are you running your dev on? -- 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 rubyonrails-t...@googlegroups.com. To unsubscr

[Rails] Trubelshooting MS Sql database connection

2010-10-26 Thread Fredrik TiC Jansson
Hello i have been atempting to move a project from sqlite database to a sql server database with absolutly no success. i am now going to document my entire process so that mabey someone can se the error of my ways. And if some one else has this problem this migth act as a troubleshooting guide. OS

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-25 Thread Fredrik TiC Jansson
error unknown connection mode for mode => "ado" On 25 Okt, 15:36, Fredrik TiC Jansson wrote: > I have installed both gems via > gem install 'gemname' > after which i have wrote > gem 'gemname' in my gem file and then run bundle install inside the &g

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-25 Thread Fredrik TiC Jansson
I have installed both gems via gem install 'gemname' after which i have wrote gem 'gemname' in my gem file and then run bundle install inside the project folder 'gemname' = is replaced by the name of the gem So yes i have installed those gems i hav also tried this with ruby 1.9.2 and i am current

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-25 Thread Fredrik TiC Jansson
Ok it is still not working and i have gotten indikations from forum posts and blogs that i should use mode: adonet this bombs out with the message no such file to load -- System.Data On 25 Okt, 13:43, Fredrik TiC Jansson wrote: > I found the problem i wrote mode:ado but i should be mode: ado

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-25 Thread Fredrik TiC Jansson
I found the problem i wrote mode:ado but i should be mode: ado the space inbetween is inportant. Anyway on to the next problem i now get the error unknown connection mode when i use ado Is ado included in the dbi gem or do i have to install some other gem ? On 25 Okt, 11:22, Fredrik TiC Jansson

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-25 Thread Fredrik TiC Jansson
that only gives me syntax error mode:ado (ArgumentError) i get the same error on that line when trying mode:odbc On 22 Okt, 17:46, radhames brito wrote: > > if you are connecting to MS sql you should be using > > > adapter: sqlserver > > mode: ado > > database: blahblah > > host: mode_blah > > fo

[Rails] Re: Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-25 Thread Fredrik TiC Jansson
Thanks will try that now and report back if it solved my problem On 22 Okt, 17:46, radhames brito wrote: > > if you are connecting to MS sql you should be using > > > adapter: sqlserver > > mode: ado > > database: blahblah > > host: mode_blah > > forgot to add > > dsn : much_more_blah > autocommi

[Rails] Problems when connecting to Sql server 2008 odbc no such file to load error

2010-10-22 Thread Fredrik TiC Jansson
Hello i am a relative noob to the web world and i am now atempting to move a rails app to a windows server and connect it to a SQL 2008 database in database.yml file adapter: sqlserver mode: odbc dsn: Driver={SQL Native Client};Server=localhost;Database=DMBackEndServer;username=DM;Pwd=DM;

[Rails] Re: rails 3 remote server startup problem with mongrel_rails

2010-10-21 Thread Fredrik TiC Jansson
I have the exact same problem been working all day on this and pulling my hair. On 29 Sep, 14:13, Adam wrote: > Hello, > > I have a weird problem when trying to run my rails 3 app on the remote > server. > Everything seems to be setup fine and an older app with rails version > 2.3.5 is running wi