in

CodePrairie .NET

South Dakota .NET User Group
All Tags » Ruby (RSS)

Browse by Tags

  • Follow Up: How do you manage your open source software

    A while ago I asked: How do you manage your open source software? . It seems like Bill Pierce had the same question, so I thought I should get to writing my follow up. I also asked this same question on the alt.net mailing list (whole thread is here ). A lot of folks suggest not updating once you have...
    Posted to chrisortman (Weblog) by chrisortman on 04-06-2008
  • Rails on Windows

    I really really would like to be able to use rails on windows (not just developing, but in production). My preference would be to use linux, however the powers that be resist non microsoft os's like its nobodys business. My first attempt is to use the new FastCGI for IIS. I figured this is my best...
    Posted to chrisortman (Weblog) by chrisortman on 09-05-2007
  • Getting profile data from ruby (using Powershell)

    Since I'm on windows I'm running this from powershell. ruby -r profile myprogram.rb 2> prof. log This will turn on ruby's profiling which writes to STDERR. the 2> catches that output and puts it into a file. Now after you run this there will be a bunch of noise in your prof.log file...
    Posted to chrisortman (Weblog) by chrisortman on 09-05-2007
  • Viewing server errors with open-uri

    I've been doing some testing using open-uri but when my server returned an http 500 all I got on the ruby side was an Open::HTTPError. In order to view the actual error page returned by the server I needed to do something like this: begin resp = open (URL) puts " Finished " rescue OpenURI...
    Posted to chrisortman (Weblog) by chrisortman on 09-05-2007
  • Connecting to SQL Server 2005 with Ruby Sequel

    So here I was wanting to query some database tables that get populated during our build process and then modify some text files / source control based on what's in the table. Seemed like a good excuse to use some ruby but low and behold ActiveRecord doesn't seem to care for the structure of our...
    Posted to chrisortman (Weblog) by chrisortman on 08-10-2007
  • Generating stored procedures to multiple files - SQL2005

    Remember that functionality in Enterprise Manager that let you generate scripts for all your stored procedures to multiple files? I guess no one used that feature because in SQL Management Studio (2005) that feature was removed. I found some information here that says it was put back in SP2. However...
    Posted to chrisortman (Weblog) by chrisortman on 07-24-2007
  • Ruby include and extend

    Nice write up by Marc about ruby extend and include. He succinctly explains what each of the methods do, however I think his explanation is for a ruby programmer, not a C# programmer trying to learn more about ruby. Upon further research I found another post that made it quite clear for me. The extend...
    Posted to chrisortman (Weblog) by chrisortman on 07-07-2007
  • undefined method 'gem' for main:Object

    I have to do development on several different machines (keeping them in sync is a real pain, so if you have any good advice please share) and when I went to do some rails work I kept getting this error everytime I'd try to do something: undefined method `gem' for main:Object It took me a little...
    Posted to chrisortman (Weblog) by chrisortman on 05-28-2007
  • Rake task to update version information

    I maintain assembly version numbers in my msbuild project files. It is (unfortunately) spread across 3 files for the time being, a .targets file, the master .proj file and a wix (.wxs) file. So I thought I would hack a quick rake task that will update all these version numbers for me when it comes time...
    Posted to chrisortman (Weblog) by chrisortman on 05-25-2007
Page 1 of 1 (9 items)
Powered by Community Server (Commercial Edition), by Telligent Systems