Displaying 20 results from an estimated 4000 matches similar to: "Can't create new rails project behind proxy"
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$
2012 Jan 05
2
Error while rake actions
rake aborted!
/home/Mahesh/uma/myapp/Rakefile:6: unterminated string meets end of file
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load''
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling''
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine.
But doing a:
rake db:reset
it fails with:
unknown attribute: user_status
Does this mean my migrations are not dropping things correctly?
--
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 Jan 17
4
Find all association methods
Hi all,
I want to get all association methods in one single model....
Any default method is provided by Active Record ???
i am using ruby 1.9.3 and rails 3.1.3
Please reply me ....
Thanks,
kingston.s
--
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 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
Running rspec on it brings about a large amount of these messages:
DEPRECATION WARNING: Passing a template handler in the template name is
deprecated. You can simply remove the handler name or pass render :handlers
=> [:haml] instead. (called from block (2 levels) in <top (required)> at
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can''t seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
when i use the console and do this:
irb(main):003:0> require ''RMagick''
=> nil
I don''t think rmagick is
2011 Dec 13
1
Trouble setting up Rails with a JS runtime environment
Hi all,
I''m using Ubuntu 11.10 and the terminal to install and run Rails. Here
is the process I''ve taken so far to setup Rails:
> download and install Ruby 1.9.2 and Rails 3.1.0
-- I did this using ''sudo apt-get ruby1.9.1'' and ''sudo gem install
rails''
> I made a new rails app using ''rails new path/to/app''
> I went
2012 Feb 12
3
Rails routes - destroy
Can''t figure out how duplicate routes are differentiated by rails ...
Read routing from inside out and API as well as a few tutorials but
still don''t get it!!! For example...
routes.rb
resources :minisections do
resources :questions
end
rake routes:
minisection_question GET
/minisections/:minisection_id/questions/:id(.:format)
questions#show
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
2011 Oct 04
9
Postgresql adapter not working
Hello everyone. I''m starting with Rails going through the obvious
"Getting Started with Rails" guide:
http://guides.rubyonrails.org/getting_started.html
Everything goes smoothly until the rake db:create command, which
returns this strange error message referring to a gem that apparently
doesn''t exist:
Please install the postgresql adapter: `gem install activerecord-
2011 Dec 17
7
How does bundler know whether Gemfile has changed?
I am trying to understand how bundler works. Looking at the manual [1] it says
"If a Gemfile.lock does exist, and you have not updated your
Gemfile(5), bundler will fetch all remote sources, but use the
dependencies specified in the Gemfile.lock instead of resolving
dependencies."
The question is how does it know whether Gemfile has been updated? I
expected to find something in
2010 Dec 05
14
Remove bundler
Can you remove bundler without any problem – for rails?
--
Posted via http://www.ruby-forum.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Jan 24
7
Gem install bundler works, gem bundle doesn't?
Hi, I''m having some trouble with bundler:
-bash-4.1$ gem install bundler
Successfully installed bundler-1.0.21
1 gem installed
Installing ri documentation for bundler-1.0.21...
Installing RDoc documentation for bundler-1.0.21...
-bash-4.1$ bundle install
ERRRO: Gem bundler is not installed, run `gem install bundler` first.
--
You received this message because you are subscribed to the
2011 Oct 11
10
Create Two objects at the same time
I have user model and referral model. Referral model has user_id as
field.
Now when a new user is created, I need to call referral#create as well
and pass it the id of the newly generated user to user_id of referral
model. How can I do that.
--
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
2010 May 06
5
Bundler for Rails 3 Engine
Hello All,
My google-fu did not find this answer :
How do I configure a Rails-3 Engine so that the engine''s Gemfile is
integrated with the parent-Rails-app''s bundle?
Thanks
Peter Fitzgibbons
(847) 859-9550
Email: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--
You
2010 Jul 24
23
How to disable ORM in Rails 3
Is there any way to prevent Rails 3 from using an ORM? In Rails 2, it
used to have a description in environments.rb explaining how to do that.
In Rails 3, is there any way to tell it to not use any database? I was
trying to make some benchmarks from situations that don''t require a
database...
Thanks in advance,
Rodrigo.
--
You received this message because you are subscribed to
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04)
$ dpkg -l |grep ruby
ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
$ bundle exec
/usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError)
from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec''
from
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer.
I put in my prompt:
bundle install, and this error appears:
C:\rails\organily>bundle install
Fetching gem metadata from https://rubygems.org/.........
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.6)
Using activesupport (3.2.3)
Using builder (3.0.0)
Using activemodel (3.2.3)
Using erubis (2.7.0)
Using journey
2013 May 20
6
MapServer setup with rails in ubuntu 12.04
Hi i have one rails application in which i need to setup the mapserver i
have added the gem https://github.com/sourcepole/ruby_mapscript
but while running the command
require "rubygems"
require "ruby_mapscript"
include Mapscript
it use to tell me
LoadError (cannot load such file -- mapscript):
can anybudy help me on this
Thanks in Advance
Arvind
--
You received
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there,
I''m solving the problem about the plugin Magick. In my app in Gemfile
I''ve follwoing:
require ''rubygems''
require ''mongo''
require ''RMagick''
include Magick
and in a model Files:
class Files
def self.save(upload)
...
img = Magick::Image.read(''public/data/nature6.jpg'').first
end
end