Accidental Technologist

Entries categorized as ‘Instant Rails’

Instant Rails 2.0 Featured on Rails Envy Podcast

January 3, 2008 · Leave a Comment

Instant Rails 2.0 was featured on Episode 12 of the Rails Envy Podcast, this past week.

podcast-featured

Thanks to Jason and Gregg for the mention.   Everyone should check out the podcast for the latest news on what’s going on in the Rails world on a weekly basis.

Categories: Instant Rails · Ruby/Ruby on Rails

Instant Rails 2.0 Released on RubyForge

December 28, 2007 · 3 Comments

I have been working hard on getting the latest and greatest components of Instant Rails 2.0 put together into a  coherent release to RubyForge.  It has been a bit more time consuming bringing it all together, learning the components of the project, learning more about Subversion than I knew already as well as how the whole process of working with RubyForge really happens. 

Being part of the open source community feels good and it feels good giving back to something I am passionate about.

It was very smooth for the most part, but trying not to mess up what already worked is what I am hoping for, so since this is my first work on an open source project from a commiter’s role, please be kind.  If there issues please submit them to the Instant Rails list or as a comment on this blog post.

Instant Rails 2.0 includes:
  • Ruby 1.8.6 Patch Level 111 with tons of bug fixes and new updated gems
  • Ruby on Rails 2.0.2
  • RubyGems 1.0.1
  • Rake 0.8.0
  • Mongrel 1.1.2
  • SQLite3

SQLite3 is included in this release since Rails 2.0.2 uses it by default.  Users should notice the Cookbook example uses the latest Rails 2.0.2 changes and has been updated to use SQLite3.

Instant Rails 2.0 can be downloaded from RubyForge now, please take a look at the Release Notes to see all the updates.

I will have some additional updates to the project over the next weeks.  I plan to post want I am going to update and hopefully I will receive the kind of feedback my readers have been providing.  Thank you all!

Categories: Instant Rails · Ruby/Ruby on Rails

RubyGems 1.0 Released, Helps Windows Developers

December 20, 2007 · Leave a Comment

UPDATE: Make that RubyGems 1.0.1, released tonight.

The great folks at the RubyGems project have released RubyGems 1.0.  This release fixes a bunch of issues, including some important ones for Windows developers.  Updates include:

Major New Features Include:

  • RubyGems warns about various problems with gemspecs during gem building
  • More-consistent versioning for the RubyGems software

Other Changes Include:

  • Fixed various bugs and problems with installing gems on Windows
  • Fixed using gem server for installing gems
  • Various operations are even more verbose with—verbose
  • Built gems are now backwards compatible with 0.9.4
  • Improved detection of RUBYOPT loading rubygems
  • ruby setup.rb now has a—help option
  • Gem::Specification#bindir is now respected on installation
  • Executable stubs can now be installed to match ruby’s name, so if ruby is installed as ‘ruby18’, foo_exec will be installed as ‘foo_exec18’
  • gem unpack can now unpack into a specific directory with—target
  • OpenSSL is no longer required by default

Deprecations and Deletions:

  • Kernel#require_gem has been removed
  • Executables without a shebang will not be wrapped in a future version, this may cause such executables to fail to operate on installation
  • Gem::Platform constants other than RUBY and CURRENT have been removed
  • Gem::RemoteInstaller was removed
  • Gem::Specification#test_suite_file and #test_suite_file= are deprecated in favor of #test_file and #test_file=
  • Gem::Specification#autorequire= has been deprecated
  • Time::today will be removed in a future version

It’s pretty simple to update your current RubyGems installation, simply type:

gem update --system

The upcoming release of Instant Rails 2.0 will include this new version of RubyGems, primarily because of the issues 0.95 users experienced on Windows.  Please read the official announcement on this RubyGems release which will help with other ways to update or install RubyGems on your system.

Technorati Tags: ,

Categories: Instant Rails · Ruby/Ruby on Rails

What’s Coming in Instant Rails 2.0 and Beyond – The Road Map

December 17, 2007 · 22 Comments

Since I took over the Instant Rails project a short time ago I have been working on learning the structure of the project and figuring out what to put in the next release and beyond. The next release will be Instant Rails 2.0. The reason for the jump is primarily because Ruby on Rails itself has jumped to be 2.0, so why not keep it parallel.

Instant Rails 1.7 Components

The current version includes the following core components:

It contains the following sample applications:

And a few ancillary applications which some of Instant Rails depends on:

Instant Rails 2.0 Components

The current version includes the following core components:

It contains the following sample applications:

And a few ancillary applications which some of Instant Rails depends on:

Instant Rails 2.0 and Beyond

I have chatted with several people who would like to see various features and components upgraded or added to the project. I can’t see with any certainty what components might be added but I can say I will do my best to add what people want but remain keeping the project light and stable.

Some of the items users wanted to see are:

  • PHP 5
  • SQL Server Support
  • IIS Support
  • SubVersion
  • SQLite3

Developers should take a look at the release notes for Ruby 1.8.6-26, which includes updates which provide support for running Rails applications under IIS7. The important components are FastCGI and ruby-fcgi.

It should also be noted that Rails 2.0.2 uses SQLite3 as its default database and therefore when creating Rails applications under Instant Rails, the command looks like this:

rails -d mysql myapp

Should SQLite3 be included in the next release of Instant Rails now that SQLite3 is the default database? I tend to think this would be the right thing to do but features like phpMyAdmin become a bit irrelevant being a MySQL tool. I have found a tool called SQLiteManager which is a web-based admin tool for SQLite3 databases. Anyone familiar with it? It appears to be a bit dated.

I am planning at looking to upgrade to Ruby 1.9 when available as well as at upgrading to the latest version of MySQL and Apache, but these will have to wait a bit since they work great just the way they are today. The sample Typo 2.6 installation could use an upgrade to Typo 4.x as well.

I would like to continue to hear what people would like to see, please email me at [rbazinet] at [gmail.com] or reply to this post.

Technorati Tags: ,

Categories: Instant Rails · Ruby/Ruby on Rails

Instant Rails Lives On

December 13, 2007 · 31 Comments

logo50

I have been a long-time user of Instant Rails to write Ruby on Rails applications on Windows.   What I like most about Instant Rails is its level of isolation, where nothing is installed on my local computer as a service or anything permanent.  I can just take it with me and run it anywhere.

A short time ago Curt Hibbs, the founder of the Instant Rails project on Rubyforge, decided he didn’t have the time to continue the project to the level it deserved.  He announced the project would not longer be updatee and users should look to another Ruby stack on Windows, named BitNami RubyStack

After trying BitNami I came away feeling like I had stepped back to something not as polished as Instant Rails.  I have no ill feeling about Bitnami, I hope they do very well.  I have been spoiled by the way Instant Rails runs isolated along with its nice user interface to control services and my Rails applications.

 

image

 

I decided to contact Curt and see what the story was with closing down the project and if I could do anything to help maintain it.  Curt explained he was simply too busy with work and real life to maintain the project any longer and it was as simple as that.  I thought about it a bit and offered to take the project over continue with this legacy.  Curt was happy to have someone keep the project going.

So, now what?

Immediate Plans

This is my first foray into an open source project so please be patient.  Anyone with advice on maintaining an open source project, it would be appreciated.  For the short term my goals are not lofty, I plan on:

  • Learning the layout of the Instant Rails project
  • Inventory what is currently part of the project
  • Understand how the project was administered so I can successfully manage to continue the project

Short-term Plans

In the next few weeks I want to be able to get a release out to RubyForge.  I would like to at least provide and update to the following:

  • Ruby on Rails 2.0.1, or newer if bugs are patched between now and then
  • Ruby 1.8.6 Patch Level 111

Longer-term Plans

I have used Instant Rails and love how it works.  I am not going to make any large changes with the project, I want to keep the functionality the way it is.  Curt has done a great job and there is no need to change for the sake of change.

I plan to make some updates to some of the packages to get them up-to-date beyond the ones above:

  • RubyGems
  • MySQL
  • Mongrel
  • Rake
  • Ruby 1.9

Of course I will fix any bugs I can along the way.

I have been asked about adding some things to the current build such as Capistrano 2.1 among some others. What would users like to see?   I can’t really add any and all gems to releases, it has to be by consensus.  As always users can just add gems themselves and customize as much as they want.

I will be posting updates here as things progress and I get other ideas or come to a fork in the road and need feedback.  Please come here for informational updates on Instant Rails.  Release updates will continue to be in the RubyForge project page.

 

Technorati Tags: ,

Categories: Instant Rails · Open Source