similar to: How to Install Ruby and Rails

Displaying 20 results from an estimated 6000 matches similar to: "How to Install Ruby and Rails"

2012 Aug 25
12
index.html in rails-app/public
Hello All, I have created a rails application on hosrtmonster and created symbolic link of app''s public folder. Now default link is to index.html of rails-app/public folder. I want to set another page as homepage. I also set root in routes.rb file but its not working, also remove default index.html from public folder. Can anyone tell me how to add link
2012 Jul 03
4
Rails compatibility with Ubuntu
Hi All, I want to know the compatibility of Ubuntu with Rails. Anyone know which Ubuntu version support Rails 2.x and Rails 3.x. -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it gives following error : ms@ms-HP:~/OpenStreetView$ rake WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb rake
2012 Oct 17
6
NoMethodError (undefined method `service_options' for nil:NilClass)
hi i am using rails 2.3.4 and i am facing "no method error" there is possibility to not find method but my question is - is there possibility to error occurred because of empty table? or error in another controller or helper? error trace: Processing QuoteRequestsController#create (for 127.0.0.1 at 2012-10-17 16:07:34) [POST] Parameters:
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake tasks: $ rails destroy scaffold genotypes /usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in `default_options'': undefined method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) from /usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can''t able to run my existing application. error occurred : run command for server "script/server -e production -p 3001" error: => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3001 config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no specification
2010 May 26
25
Extremely slow start up with ruby 1.9.1 vs 1.8.7
I created a fresh new rails app, no gems, no nothing. Completely unmodified. Doing anything that initializes rails takes 2 - 3 times longer in ruby 1.9.1 than it does in 1.8.7. Obviously with a fresh rails app, this is only 2 - 3 seconds extra. But with a decent sized app, this can take up to 25 seconds for rails to initialize, vs the 12 seconds in 1.8.7. I''ve been racking my brain on
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a separate partition. I installed Ubuntu 12.04 (Alpha) on the root partition, leaving the home partition unchanged. I now find that some things don''t work, I think due to the fact that the system has been updated and versions of libraries have changed. For example I get: $ rails c
2010 Dec 11
2
Problem using rvm in bash script
I am using rvm installed on Ubuntu 10.04 as recommended in the rvm docs (including changes to .bashrc) and all is working well with several versions of Rails, and Ruby 1.8.7 and 1.9.2. If I run rvm use 1.9.2 it says Using /home/colinl/.rvm/gems/ruby-1.9.2-p0 and if I run rvm info It shows exactly what I would expect for 1.9.2 and I can start the rails server and all is well. The problem arises if
2010 Dec 09
15
Rails 3 Active Record query returns "undefined method `loaded?' for #<Array:0x126a4c>"
I am getting this error on an rspec test: undefined method `loaded?'' for #<Array:0x126a4c> When I call: Practice.includes("practice_members").all Practice has_many :practice_members PracticeMember belongs_to :practice Practice.all returns: [#<Practice id: 6, name: "Practice One", created_at: "2010-12-09 15:40:46", updated_at: "2010-12-09
2012 Jan 21
16
Installing rails on Ubuntu
Hello, I''m trying to install the rails on ubuntu 11.10, but when I put the command felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails --no-r1 --no-rdoc ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand felipe@Felipe:~/Downloads/rubygems-1.8.15$
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects. I have RVM installed. When I upgraded to Rails 3, Installed RVM via terminal: bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest) version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt); mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2010 Apr 03
4
Rails can't find it's gems
Hi, yesterday I attempted to test my Rails app with Ruby 1.9. I installed all necessary gems, saw that some of them aren''t compatible with 1.9 and switched back to 1.8. Now my app still thinks it has to go with 1.9 and shows the following error message when I try to test it. ---------8<--------------------------------------- $ rake test (in /home/helge/Development/kunsthof) Missing
2010 Dec 06
57
Which RoR to run on Mac OS X for a particular RoR app.
I am extremely new to RoR, I am. I am slowly but surely learning Ruby and the Rails concepts but the environment is confusing. I have an application that was written for my company in RoR. It is on a ubuntu server that is going to be shut down. I want to move the app to my two Macs (one Leopard and one Snow Leopard). We want to keep the app to demo a business concept but it can run locally
2010 Jun 15
8
Allow blank on should validate_uniqueness_of
Hello, Using shoulda, any ideas how to allow blank when having this test: should validate_uniqueness_of(:email) Thanks. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> (http://pupeno.com) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2013 Jun 02
16
Ruby 2.0 is running, but Rails 4 doesn't see it.
What am I doing wrong?? ****@ubuntu:~/ruby/things_i_bought$ rake db:migrate Rails 4 prefers to run on Ruby 2.0. You''re running ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] Please upgrade to Ruby 1.9.3 or newer to continue. ****@ubuntu:~/ruby/things_i_bought$ ruby -v ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux] ****@ubuntu:~/ruby/things_i_bought$ rvm
2011 Oct 12
36
ROR setup on ubuntu machine
I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some steps to follow for ROR? or some effective tutorials link to setup this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ciRx6txsgY4J. To post to this group, send
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create* * * WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in
2012 Mar 27
10
`autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes
I have installed ruby 1.9.2p318 (2012-02-14 revision 34678) [i686-linux] rails 3.2.2 gem 1.8.21 on ubuntu 10.04 when i created my first application and tried running it on server I get the following error not sure how to proceed further.... /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0/lib/execjs/ runtimes.rb:50:in `autodetect'': Could not find a JavaScript runtime. See
2011 Dec 04
10
bash: rails: command not found
Hey, I''ve checked my gems env, appears to be fine. Is there anything else I can check to see why it is not recognising the Rails command? I have read a number of post and they all seem to point back to PATH. BTW: Using Ubuntu OS. Cheers, James -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,