# Rails on BSD

**URL:** <https://www.ruby-forum.com/t/rails-on-bsd/191277>\
**Category:** Rails\
**Created:** [July 8, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/rails-on-bsd/191277 "2010-07-08T18:33:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mrbass21](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/74df32/32.png) [@Mrbass21](https://www.ruby-forum.com/u/Mrbass21)\
**Post date:** [July 8, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/rails-on-bsd/191277/1 "2010-07-08T18:33:05Z")

</div>

I had this problem too. After searching all day I found a solution.

On BSD you need to have a converter installed.

/usr/ports/converters/ruby-iconv/

sudo make install clean

However, that did not solve the problem for me until I found this  
post:

“Just change RUBY\_DEFAULT\_VER?= in /usr/ports/Mk/bsd.ruby.mk from 1.8  
on 1.9.”

I removed the ruby-iconv and reinstalled it and problem is gone.

Good luck.

---

<div class="post-metadata">

**Author:** ![Mrbass21](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/74df32/32.png) [@Mrbass21](https://www.ruby-forum.com/u/Mrbass21)\
**Post date:** [July 8, 2010, 7:40pm UTC](https://www.ruby-forum.com/t/rails-on-bsd/191277/2 "2010-07-08T19:40:26Z")

</div>

You might also try using TorqueBox (JRuby) on BSD…

On Thu, Jul 8, 2010 at 12:17 PM, Mrbass21 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> “Ruby on Rails: Talk” group.  
> To post to this group, send email to removed\_email\_address@domain.invalid.  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–

* * *

Joshua S. Martin

CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s),  
contains information that may be confidential, protected by the attorney  
client or other legal privileges, and or proprietary non public  
information.  
If you are not an intended recipient of this message or an authorized  
assistant to an intended recipient, please notify the sender by replying  
to  
this message and then delete it from your system. Use, dissemination,  
distribution, or reproduction of this message and or any of its  
attachments  
(if any) by unintended recipients is not authorized and may be unlawful.

---

<div class="post-metadata">

**Author:** ![Mrbass21](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/74df32/32.png) [@Mrbass21](https://www.ruby-forum.com/u/Mrbass21)\
**Post date:** [July 8, 2010, 10:19pm UTC](https://www.ruby-forum.com/t/rails-on-bsd/191277/3 "2010-07-08T22:19:48Z")

</div>

> On BSD you need to have a converter installed.
> 
> /usr/ports/converters/ruby-iconv/

Yeah when you install ruby if you look closely you’ll see a post install  
message that says iconv is a separate port. It should read bigger.

> “Just change RUBY\_DEFAULT\_VER?= in /usr/ports/Mk/bsd.ruby.mk from 1.8  
> on 1.9.”
> 
> I removed the ruby-iconv and reinstalled it and problem is gone.

Yeah that’s a trap everybody falls in. Once it’s set, another version of  
ruby won’t update the file.
