Samba Network Shares with Nautilus in Hardy Heron

Posted by Ryan Baxter Tue, 29 Apr 2008 00:50:00 GMT

A couple of days ago I mentioned a few of my woes with the latest release of Ubuntu. Since then, I’ve installed Ruby on Rails and have found a work around for the continued problems I’ve had in accessing my samba shares using the “Connect to Server…” option in Nautilus. If you’re experiencing the symptoms described in bug report #208531, then you might want to give smbmount a try. From the command-line, type:

smbmount //{server}/{share} /home/{user}/{share} -o username={server_username}

To unmount the share:

sudo umount /home/{user}/{share}

I’m using this as a temporary solution until the bug in Nautilus is resolved. Your mileage may vary.

*The statements above were written under the assumption that you’ve created a folder within your home directory for mounting the share.

Ruby on Rails with Hardy Heron

Posted by Ryan Baxter Sat, 26 Apr 2008 21:20:00 GMT

This Thursday, Canonical released Ubuntu, Hardy Heron, into the wild. Like many others, I immediately fired up a torrent and began downloading. From what I read of the aftermath, many launch day downloaders were not as lucky. Most Torrent servers became immediately inaccessible due to Hardy Heron’s popular demand. It has been three days and the US update servers are still saturated. This happens every release and can only mean that Ubuntu’s userbase is steadily growing.

My installation went well, but with any new OS release comes problems and Hardy Heron was not an exception. I couldn’t connect to my NAS through Nautilus. None of my browser extensions worked and Ruby on Rails was MIA. I decided to fix Rails first. Here are the steps I took to install Ruby on Rails on Ubuntu, Hardy Heron.

sudo apt-get install ruby

At this point I could not install Ruby on Rails with RubyGems because of the following exception:

/usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError)

I opened up the source file and edited the offending line.

sudo gedit /usr/bin/gem

Adding require ‘rubygems/gem_runner’ to the source file,

require 'rubygems'
require 'rubygems/gem_runner'

I was then able to update RubyGems

sudo gem install rubygems-update

and install Ruby on Rails and the Mongrel web server.

sudo gem install rails mongrel

At this point I had a working version of Rails on my installation of Ubuntu, Hardy Heron. To get back to work the only thing missing was the NetBeans Ruby IDE. If you haven’t tried NetBeans for your Ruby on Rails projects, I highly recommend it. It’s located in the repos and only takes a few plugins to have Rails support out of the box.

Festo Air Jelly

Posted by Ryan Baxter Thu, 24 Apr 2008 20:08:00 GMT

Amazing. I’d love to see more natural design in programming languages.

Older posts: 1 2