How to update my rails 3.0.0 beta 4 app to rails 3.0.0 RC and eventually to Rails 3?



My first problem is a bundler conflict


$ bundle install
Fetching source index from http://rubygems.org/
No compatible versions could be found for required dependencies:
Conflict on: "bundler":
* bundler (0.9.26) activated by bundler (= 0.9.26, runtime)
* bundler (>= 1.0.0.rc.1, runtime) required in Gemfile
All possible versions of origin requirements conflict.

After I figure that out,


Is there anything I need to do to change my Beta 4 Rails app to work on the RC?


View Replies

Related to : How to update my rails 3.0.0 beta 4 app to rails 3.0.0 RC and eventually to Rails 3?


Rails plugin for generating dynamic / ajax crud interfaces compatible with Rails 3 beta?
Category : Programming Languages

Anyone know of some good gems or plugins to create dynamic / ajax crud interfaces for Rails 3 projects? I know active scaffold was popular before and it's been awhile since I have used it / any other gems similar to this (I usually just write it myself).


I like the direction that the


View Replies


Rails 3.0.0.beta Install problem: can't find executable rails
Category : Programming Languages

I'm trying to install the rails 3.0.0.beta and I'm running into this issue:


justins-mac-: justinz$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
justins-mac-justinz$ rails -help
/Library/Ruby/Site/1.8/rubygems.rb:384:in `bin_path': can't find e

View Replies


How to create a rails project using rails/master (beta 4.0.0)?
Category : Programming Languages

How can I create a rails project using rails/master?


rails new app_name --edge uses Rails 3.2.8 and points to the '3-2-stable' branch in the Gemfile.


Creating a rails project, pointing gem 'rails' to master and running bundle or


View Replies


Routes.rb - from Rails 2.x to Rails 3.x “How to Create a Blog from Scratch Using Ruby on Rails” tutorial
Category : Programming Languages

I'am working on "How to Create a Blog from Scratch Using Ruby on Rails" from http://sixrevisions.com. The tutorial was created for Rails 2.x. I try to get It working on Rails 3.x. . When I run server I and run localhost:3000 get some serious routing error:


Called from: C:/Ruby

View Replies


Are there 3 forms to invoke production, staging, etc in Ruby on Rails for rails server, rails console, and rake?
Category : Programming Languages

The forms I know of are:


For Rails 3.0:


for rails server:


rails server -e production

for rails console


rails console production

for rake


rake db:migrate RAILS_ENV=production

View Replies


script/console won't work; reports “Missing the Rails gem. Please `gem install -v= rails`…” even though rails shows as installe
Category : Programming Languages

I'm trying to learn RoR, and running script/console fails, returning:


Loading development environment (Rails 2.3.5)
Missing the Rails gem. Please gem install -v= rails, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have


View Replies


'rails' command creates directory with /vendor/rails which uses wrong version of rails
Category : Programming Languages

For some reason when I run rails command, it installs 2.2.3 version of Rails in /vendor/rails and webbrick uses that version instead of 2.3.5 which is installed as a gem.


If I delete that, then it uses the right directory. I remember using git submodule once, but I don't think that ha


View Replies


RVM and rails 3.0 beta: rails executable is invalid
Category : Programming Languages

after installing


gem install rails --pre

then trying


rails -v

I get the following error


/home/luke/.rvm/gems/ruby-1.8.7-head@rails3pre/gems/activerecord-3.0.0.beta2/lib/rails: Is a directory - /home/luke/.rvm/g

View Replies


Rails 3 issue with custom named resourceful route after update from rails 2
Category : Programming Languages

In the rails 2 version of my app I have this resource defined


map.resources :albums, :as => 'music', :has_many => :reviews

This gave me some standard routes:


album GET /music/:id(.:format) {:controller=>"albums", :action=>"show"}

View Replies


How to create own spec for refinery pages controller in rails 3.2.6 - routes are not found after rails update
Category : Web Design

i upgraded my RefineryCMS based application recently from Rails 3.2.2 to 3.2.6.


Prior to the upgrade the follwoing spec for the pages controller of refinery worked out pretty well:


describe Refinery::PagesController do
render_views
context "Should check the a

View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .