I have a few apps running on rails 3.2.12 and ruby 1.9.2. Since I need to make some changes to them, I thought I’d update them to rails 4.1 and ruby 2.1. I first upgraded the apps to rails 4.0 and ruby 2.0. That worked fine. Now I want to upgrade to ruby 2.1. First I’m doing it on my laptop. Here is how I compiled and installed it.
yo:ruby-2.1.1 $ export LDFLAGS="-L/opt/local/lib"
yo:ruby-2.1.1 $ ./configure --prefix=/Users/maryh/Software/rubies/2.1.1
yo:ruby-2.1.1 $ make
yo:ruby-2.1.1 $ make install
I then set the PATH to use this new ruby and installed rails.
yo:ruby-2.1.1 $ export PATH=/Users/maryh/Software/rubies/2.1.1/bin:$PATH
yo:ruby-2.1.1 $ which ruby
yo:ruby-2.1.1 $ ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin12.0]
yo:ruby-2.1.1 $ which gem
yo:ruby-2.1.1 $ gem install rails
yo:ruby-2.1.1 $ gem list
*** LOCAL GEMS ***
minitest (5.3.3, 4.7.5)
Now I just need to update my apps to rails 4.1. (I’m thinking there won’t be as many changes as with the 3.2.12 to 4.0 upgrade.) And then bundle update should bring in the rest of the gems that I need.
Since I came back a day before I planned, I had some time to work on my house on Monday. So I decided to paint my kitchen. After a little hiccup where the paint I bought was yellow and not white (said white on the can), I got started. It didn’t take too long, but I did find a rather large mistake I made when we installed the window. I think I should have raised it up a little because there’s about a 1/2″ gap along the top edge.
So I think I’m going to have to take the window out and set it on a thin piece of wood and then reattach it. It shouldn’t take too long, but I will have to ask one of my siblings to come by to help me lift it.
Took another mini vacation over the weekend and drove to Washington DC. Why? First reason was the State of the Map US conference. They had an “Intro to Using OpenStreetMap” tutorial that I wanted to attend. Then I found out that it was going to be peak cherry blossoms during the same weekend. I’ve always wanted to see that, so I made the crazy drive. I drove to Perrysburg Ohio (close to Toledo) after work on Thursday and spent the night in a hotel. Then did the rest of the drive on Friday. Since it rained from the time I started until about an hour outside of DC, it wasn’t the best ride. However, once I got to DC, the weather was fantastic, around 80 degrees. I checked in to my hotel and jumped on my bike to find the cherry blossoms. They did not disappoint. My pictures are here.
The conference started on Saturday morning and I went to that all day. It was interesting, but conferences really aren’t my thing. I was glad I went to the tutorial, but I probably could have passed on the rest. The talks were interesting, but since I don’t do this for a living anymore, I didn’t care that much about it. Anyway, as I heard the weather might be bad on the drive home, I decided that I’d only stay for one day of the conference and leave on Sunday morning. I got in a couple more hours of nice biking after the conference ended and got a chance to bike up to Georgetown. Again, it was a really nice day to ride.
Sunday morning started with me leaving the hotel at 7am eastern time to do the drive home. Fortunately, I didn’t hit any bad weather until about 20 minutes before I arrived at my Mom’s house. So the drive was ok, though probably about two hours longer than I should have done. I’m glad I went as it really is a beautiful drive, but I think next time I’d prefer not to do it alone. Or to definitely break it up into two days of driving.
Drove out to Cape Cod and Boston with my sister this past week. She attended the National Science Teachers Association conference and I just went to hang out. We drove so we could take our bikes and do a little biking while we were out there. We both also signed up for 30 Days of Biking, so we had to ride each day. The drive out was very long, but we had really great weather, which was nice. We were also in Cape Cod in the off season, so there weren’t very many people around. The disadvantages were that most things were still closed, but that was ok.
I’ve posted all my pictures here. I loved the fact that we took our bikes. Boston is a great biking town and I rode all over. Cape Cod was not as bike-friendly, but it had a great long trail that we rode. I was really happy with how easy it was to transport the bikes on the new rack on my car. I plan on definitely doing this again to other places. One of my goals for the year is to ride more and this was an excellent start.