• About
  • Contact

Dagny's Desk

Dagny's Desk

Tag Archives: programming

Moved my Ruby on Rails App to OCS Solutions

23 Sunday Nov 2008

Posted by Dagny Gromer in programming, Ruby On Rails

≈ Leave a comment

Tags

programming, Ruby On Rails

After spending about half my weekend working on this, I got my Ruby on Rails application moved from Planet Argon to OCS Solutions. In the process, I updated it to work with RoR v. 2.1.2 My former hosting company “fired” me as a customer earlier.

I wanted to try using mod_ruby a.k.a. Passenger, but I when I first configured my OCS account I took a path that precluded this. When I have some time, I’ll reconfigure my OCS account. But not this weekend 🙂

I also discovered a nice, and free, IDE to work with Ruby and Rails, NetBeans. It is far more mature product today than when I last looked at it a few years back. I also looked at RadRails but I like NetBeans much better. I’m not an Eclipse fan, RadRails is based on Eclipse.

My Ruby on Rails Web Host is Firing Me as a Customer

09 Sunday Nov 2008

Posted by Dagny Gromer in programming, Ruby On Rails

≈ 3 Comments

Tags

programming, Ruby On Rails

Not because of nonpayment or anything like that. PlanetArgon is no longer selling shared hosting services for Ruby on Rails (RoR) applications. Shared hosting works fine for the low volume Rails application I have, ActionShootingScores.com. They’re selling a higher end solution that I don’t need, nor want to pay for. Too bad, I was very happy with their service.

The issue for me, other than finding a new host, I developed my RoR application 2 years ago and the the framework has evolved since then. I have not had to do any maintenance on the program (because I did such a fine job writing it?) since 2006. So, I have to get it on the current framework before I can move it to a new host.

My MacBookPro came from Apple with Ruby, gems, and even the rails framework preinstalled. If you have OS X Leopard you have all this too. Bet most don’t know that, or even care. I installed MySQL on my mac when I first got it, so I thought I was ready to go.

Well, no. The preinstalled stuff was really old. Of course, the computer is about a year old. The trick to getting Rails going was the following commands in terminal:

sudo gem update –system

(not the above should have 2 minus signs, wordpress seems not to like this)

sudo gem update rake

sudo gem install rails

I was missing the first one, which needed to be run first. Now I can run the RoR samples. I tried my existing code with RoR 2.1.3 and got a bunch of errors. Guess I have a bit of work to do. At least I have some time before this becomes critical.

Pages

  • About
  • Contact

Recent Posts

  • Video: Dog rescued from wreck building in Ukraine
  • Ice age wolf DNA used to trace dog ancestry
  • Uvalde shooter made online threats, no action taken
  • Supreme court strikes down NYC handgun law
  • See 5 planets at once on June 24, 2022

Recent Comments

Dagny Gromer on macOS Monterey
Dagny Gromer on Arizona is on fire!
Ric on Arizona is on fire!
Dagny Gromer on Fall color in Prescott, A…
Colorful Sisters on Fall color in Prescott, A…
RSS  Subscribe

Flickr Photos

javalina_herd-20220624-101cliff_swallow_in_flight-20220620-101-Editjuvenile_house_finch-20220620-100
More Photos
July 2022
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Jun    

Archives

Posts by Category

Dagny on Twitter

My Tweets

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Dagny's Desk
    • Join 632 other followers
    • Already have a WordPress.com account? Log in now.
    • Dagny's Desk
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar