rails 3.2.1

22 views
Skip to first unread message

pavey nganpi

unread,
Dec 26, 2013, 12:34:39 AM12/26/13
to rubyonra...@googlegroups.com
hi guys,where can i download rails 3.2.1, i dont like rails 4.0 and thats the version which railsinstaller.org offers now.pls help

Frederick Cheung

unread,
Dec 26, 2013, 12:57:10 AM12/26/13
to rubyonra...@googlegroups.com
On Thursday, December 26, 2013 5:34:39 AM UTC, pavey nganpi wrote:
> hi guys,where can i download rails 3.2.1, i dont like rails 4.0 and thats the version which railsinstaller.org offers now.pls help

gem install rails --version 3.2.1

Should allow you to set your rails version, or (in an already existing app) you can specify the rails version to use Gemfile.

You should use a more recent version of 3.2 than 3.2.1 since that version has a remote code execution vulnerability. Also if you are starting out with a new app I would start with rails 4 - you'll have to migrate to it at some point and it's easiest to do that right off the bat.

Fred

Walter Lee Davis

unread,
Dec 26, 2013, 11:38:07 AM12/26/13
to rubyonra...@googlegroups.com
You don't mention what you don't like about 4 -- there are flags you can set at app generation time to turn off features, substitute Prototype for jQuery, whatever floats your boat. I have a lot of issues with the asset pipeline, but 3.2 shares them as well, so it's hard to say what your specific issue is with 4. (You can turn off turbolinks, too!)

Walter

On Dec 26, 2013, at 12:34 AM, pavey nganpi wrote:

> hi guys,where can i download rails 3.2.1, i dont like rails 4.0 and thats the version which railsinstaller.org offers now.pls help
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d2a21231-c1b9-4339-80dd-a33a2ac4b010%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

pavey nganpi

unread,
Dec 26, 2013, 3:47:38 PM12/26/13
to rubyonra...@googlegroups.com

When generating my first status, that is when I do the localhost/statuses I have the following error:

ExecJS::RuntimeError in Statuses#index

Showing C:/Users/NEBELYN/ruby1/gopbook/app/views/layouts/application.html.erb where line #6 raised:

(in C:/Users/NEBELYN/ruby1/gopbook/app/assets/javascripts/statuses.js.coffee) 
Extracted source (around line #6):

3: 
4: Gopbook 
5: <%= stylesheet_link_tag "application", :media => "all" %> 
6: <%= javascript_include_tag "application" %> 
7: <%= csrf_meta_tags %> 
8: 
9: Rails.root: C:/Users/NEBELYN/ruby1/gopbook
HERE IS MY GEM FILE

source 'https://rubygems.org'

gem 'rails', '3.2.16'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'


# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', :platforms => :ruby

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the app server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'debugger'

Reply all
Reply to author
Forward
0 new messages