|
My rails project has this line in /config/environment.rb
# Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
As we now have 2.3.5 as the most recent upgrade, is there a...
Started by Jesper Rønn-Jensen on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You application needs to use a specific Rails version mostly because different
$ rake rails:update
Firstly, you need to change the version to 2.3.5 from 2.3.5 and then run
rake rails.
No, there isn't.
|
|
Hi, i noted that in rails 2.3.2 there is no more option to set which rails environment you are using. So i cannot just set it anymore in environment.rb? There is any other way to set it?
Started by VP on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
RAILS_ENV=production rake db:migrate
What exactly are you trying to run? The rails generator? A rake task? Mongrel? I'm not sure this is actually a Rails issue.
I think it's a command line argument.
|
|
Hey there,
I'm using Ubuntu 9.10 Karmic Koala and Ruby 1.9.1.
I installed Rails using sudo gem install rails , which installed all the libraries for me.
When I type rails in the terminal it says.
The program 'rails' is currently not installed. You can...
Started by rgoytacaz on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
But it did for rake =/
....
Did you update your PATH variable to include the bin directory of the rails install?
You may want
Should I install Rails using apt-get? Installed using gem and it didn't create the executable in the bin folder.
|
Ask your Facebook Friends
|
I'm trying to delete a plugin I installed for rails (paperclip). But I actually don't have any idea where I can find my local rails installation directory.
So where can I find rails and rails plugins in my local file system? I have OS X.
Or how can I ...
Started by Roland Studer on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The rails application is located under:
/user.
Paperclip is a rails plugin, which means it is in
[your rails app directory]/vendor/plugins/paperclip
so if you delete that folder, paperclip is gone.
|
|
I'm looking to try out JRuby and JRuby on Rails. I'm having trouble finding information on what's difference between JRuby on Rails and Ruby on Rails.
What's the differences I need to look out for?
Started by epochwolf on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Be wrong, but I think you can package a JRuby on Rails app in a way you can't do with normal RoR - look.
|
|
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...
Started by Senthil on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Failing....
To be honest it sounds like a rails template is being run when you create your app....
Does the rails gem get vendored at the same time you create the app? that seems very strange if so that's overriding the rails command.
|
|
I'm working on a Rails app that currently uses Rails 1.2, so I'm now quite a long way behind the latest stable release (Rails 2.3).
How should I go about the process of moving to a newer version of Rails?
Should I upgrade one point release at a time or...
Started by David Waller on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
I think there are some Rails rake) with search terms like....
The Rails 2.2 release note and Rails 2.3 release note give details of new and changed mentions that older versions of Passenger won't work with Rails 2.3.
Googling.
|
|
What do I need to do to get number_to_human_size to work in a script outside of rails?
Started by srboisvert on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Rails gems to support it (starting with ActionPack and continuing with ActiveSupport), but you're.
|
|
Hi,
Recently, I had seen information about Rails 3.0 beta and I had wanted to trial it. So I used gem update and installed this version. But now, I need to go back to Rails 2.3.5.
How could I do it?
I was thinking about this two solutions:
Uninstalling...
Started by dreame4 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I installed beta 3 of rails on 1.8.7 but use 1.8.6 for my day to day rails.
Using Rails 2 and 3 side-by-side: http://cardarella.blogspot.com/2010/01/rails-2-rails-3-side has it's own set of gems.
|
|
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...
Started by JZ on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Sudo gem install railties --pre After upgrading rubygems and cleaning up you need to:
gem install railties --pre .
Try
sudo gem update --system
Since that does nothing, try
sudo gem cleanup
then reinstall .
|