Introduction Railroady is a Railroad fork, a Ruby On Rails diagram generator for models and controllers. If you are using Rails 2.3.x with Ruby 1.8.7 checkout Railroad gem. Otherwise use Railroady with Rails 3.x. Both gems are using graphviz open…
Introduction Railroady is a Railroad fork, a Ruby On Rails diagram generator for models and controllers. If you are using Rails 2.3.x with Ruby 1.8.7 checkout Railroad gem. Otherwise use Railroady with Rails 3.x. Both gems are using graphviz open…
Installing bcrypt-ruby give this error: Installing bcrypt-ruby (3.0.1) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require’: cannot load such file — mkmf (LoadError) from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require’ from extconf.rb:36:in `<main>’ This has a dependency…
Spotted several lines with invalid date format when installing a gem invalid date format in specification: “2011-08-25 00:00:00.000000000Z” While one can go through the gems specs and fix the format, one can just install rubygems-update sudo gem install rubygems-update Then…
After updating Windows bundle install and gem install json gives the following error ERROR: Error installing json. ERROR: Failed to build gem native extension. Found solution here. In my case it happen after Windows update and “Scenario B” worked for…
Capistrano keeps last 5 releases by default. You can override this in your deploy.rb file set :keep_releases, 10 This however will not clean up your releases until you run cap deploy:cleanup in the console. For automatically cleaning up the releases…
In agile web application development it is a must to use deployment tool to sync your code with a staging server. I got the idea for some time from a presentation of a colleague of mine for Fabric witch is…
No matter there are sources that state downloading a file with AJAX is not possible there are many queries to do that and of course there is a way to do it. Downloading a file with AJAX has a trick…
Installing Phusion passenger takes two simple steps, but hot always. Especially when you are new to some distro or some conception. You may have some disconfiguration in the system and fixing the dependencies may take a lot of time. That’s…
I am using Ruby on Rails for a project and I was searching for a similar tool like DebugKit in CakePHP, but for Rails and found RackBug. The both tools provide you with debug information, database queries, request details and…
I was setting up a new project in Ruby and get the message Installing json (1.6.5) Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!…