Displaying 20 results from an estimated 60000 matches similar to: "Unable to install Rails using Gem"
2011 Jul 11
36
has_many and belongs_to association
Hi ,
I want to test the one below but I got the problem
belongs_to :name, :class_name => "Phrase", :foreign_key => "name"
in my test
context "test"do
should have_many :phrases
end
in language.rb
belongs_to :name, :class_name => "Phrase", :foreign_key => "name"
error is
1) Failure:
test: check has_many and belongs_to
2009 Dec 22
16
Will paginate is missing on rake db:migrate
I have a very annoying problem, when doing rake db:migrate, I get the
error message:
Missing these required gems:
will_paginate ~> 2.3.11
But the gem is not missing, It runs very well in my app. To make the
rake pass I have to comment out the gem in my environment.rb file.
environment.rb:
config.gem "will_paginate", :version => "~> 2.3.11", :source =>
2011 Dec 17
39
Stack Level Too Deep Error (can't seem to figure it out)
Hi all,
I am running into a weird issue where my application is giving me a
stack level too deep error. I can''t seem to find where my code is
throwing this error. On the machine I developed this code on, this
error does not show up when I run rails s but when I move the code to
another system to run it this error shows up.
The system that this code runs fine on is a mac os x machine
2010 Apr 21
4
Accessing the router from a helper
I find manually accessing the router to be quite ugly below. Is there
a more direct way to access it?
module ApplicationHelper
def menu_item text, url = nil
routes = ActionController::Routing::Routes
url = if url
if url.is_a? String
url
else
routes.generate url
end
else
routes.generate :controller
2010 May 09
7
"File not found: lib" installing rails-3.0.0.beta3 on my Mac
I''ve always distrusted the ruby and rails installs on my Mac (oOS X
10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions
(lots of Gem::InstallError: cannot uninstall).
Because of that, I don''t trust the rails beta3 install I just
completed. Here''s the story:
* config is Apple''s ruby 1.8.7 and gem 1.3.6.
* xcode is installed from
2010 Sep 05
13
undefined method `path' for Gem:Module (NoMethodError)
Hi,
when running - ''ruby setup.rb'' I get the following error message:
C:\rubygems-1.3.7>ruby setup.rb
C:/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in
installed_spec_directories'': undefined method `path'' for Gem:Module
(NoMethodError)
Ruby version is ruby-1.9.2-p0.
Any idea ?
Thanks.
Dani
--
Posted via http://www.ruby-forum.com/.
--
You received
2010 Feb 17
7
ruby update on OS X 10.5 and I now this: "Rails requires RubyGems >= 1.3.2"
Hi all,
I''ve seen other messages on this problem, but I still can''t get back
to working with Rails after using MacPorts to install a recent version
of ruby on my mac OS X 10.5 (ruby 1.8.7.)
I''m getting: "Rails requires RubyGems >= 1.3.2."
In fact, I am running rubygems 1.3.5.
Here are some settings of mine that seemed important in previous posts
on this
2011 Jun 11
8
Help with railroad
Can anyone help me install railroad gem?
What I need is a simple class diagram of my rails website. Not necessarily
with railroad (if you know any other software, for mac, that works).
The website is http://railroad.rubyforge.org/
I couldn''t find any explanation on how to install it.
Thank you,
Rodrigo
--
You received this message because you are subscribed to the Google Groups
2010 Oct 06
6
Error on running unity test: "no such file to load -- 'active_record/version'"
Hi folks!
I''ve been experimenting an error messagem when I try to run unity test
in any model of my project.
Here it is:
/home/fabricio/shopcell/config/environment.rb:1:in `require'': no such
file to load -- active_record/version (LoadError)
from /home/fabricio/shopcell/config/environment.rb:1
from ./test/test_helper.rb:2:in `require''
from ./test/test_helper.rb:2
2010 Aug 24
11
will_paginate problem
Hi
I am using rails 2.3.8 & ruby 1.3.7 & will_paginate 2.3.14
I have table name books. I am doing this code for pagination,
In book_controller
@@@@books = Book.paginate :page => params[:page], :per_page => 10@@@@
& in index.html.erb
@@@@@<%= will_paginate @books %>@@@@@
Also added in environment.rb file this line
@@@@@ require
2010 Oct 23
4
Could not find 'sqlite3-ruby' error in Ubuntu
Hi all, please help me:
First time I totally had to delete all ruby and Rails because of this
problem. How to solve it well?
The message is:
*Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem
sources.*
*Try running `bundle install`*
I have *Ubuntu* Linux.
ruby -v = *1.9.2p0*
gem -v = *1.3.7*
rails -v = error message again, 2 hours ago it was "rails
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$
2010 May 21
8
Designing An Application (UML, Class Diagrams)
Hi
Is there any freeware anybody would recommend for showing database
models and how they relate to each other? I''m picking up an app
another developer left in a mess and I''m trying to sort it out.
Diagrams would be a great help.
Suggestions?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Jun 30
5
Reposted from Superuser - Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare
I''m reposting this here from my original post on Superuser[1], to
hopefully get more relevant feedback from more experienced RoR users.
I need to get a RoR environment up and running, because I have a
client that needs some RoR work done on her website. Although I''m new
to RoR, I''m a quick learner and was expecting installing and setting
up the environment was easy, so
2011 Jan 08
6
Need help in Installing Rails 3.0.3
This is my gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) [i686-linux]
- INSTALLATION DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136
- RUBY EXECUTABLE: /home/arjunkishore/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
- EXECUTABLE DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136/bin
- RUBYGEMS PLATFORMS:
- ruby
-
2010 Aug 30
3
paperclip gem install failed
when i''m installing paperclip gem its return err (i18n requires
RubyGems version >= 1.3.6)
the os is ubuntu 10.04 64bit
-nirosh-
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send
2010 Jan 19
5
Rubyzip gem installed but not recognised
Hi,
I have installed rubyzip successfully(see output below)
Successfully installed rubyzip-0.9.1
1 gem installed
Installing ri documentation for rubyzip-0.9.1...
Installing RDoc documentation for rubyzip-0.9.1...
if I put config.gem ''rubyzip'' in environment.rb and then run rails it
fails to load rubyzip .. see below
george@geolaptop:~/Dropbox/git/paua$ ruby script/server
=>
2011 Sep 19
27
Installing Rails Help!
Hi,
I followed a Tutorial on Nettuts to install Ruby with RVM and this went
well. I then tried to install Rails to follow the ''How to build a dropbox
live service'' from Netttus but appear to get errors can anybody help?.
Once I installed rails I created a new rails project using the command
(Rails new sharebox -d mysql)
This worked and created the folder structure.
I then
2010 Sep 08
6
Cannot start sqlite3
Hello everybody, i''m a long time watcher of these forums first time
poster.
I wanted to start getting into rails and have a play, I found a very
useful guide on the Internet detailing the install process for Ubuntu
10.04, after the install and setup process which seem to complete OK, i
went ahead and started my first project, however when I go to start the
server I get this message?
2011 Feb 21
4
autotest with Growl not working
Hi I''m new and using Ruby on Rails 3 but when I run $ autotest nothing
happens (I have growl installed). If I run $ rspec spec then I get the
''Finished in 0.07253 seconds seconds 2 example, 0 failures'' message
I have the following gems installed for autotest (checked via $ gem
list):
autotest (4.3.2)
autotest-fsevent (0.2.4, 0.2.2)
autotest-growl (0.2.9, 0.2.4)