Displaying 20 results from an estimated 11000 matches similar to: "rubyzip with Ruby 1.9.2 and Rails 3.1 - require 'zip/zip' fails"
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 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
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
2011 Apr 16
17
Rails 3 Crashing On Windows 7
Hi guys,
I have Rails 3 running on Windows 7 with Ruby 1.9.2
Every now and again, my server crashes, and I see the following
information in the windows event log:
Faulting application name: ruby.exe, version: 1.9.2.180, time stamp:
0x4d5ee5ed
Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time
stamp: 0x4d5ee5ec
Exception code: 0xc0000005
Fault offset: 0x0011a00e
Faulting process
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
2011 Mar 18
6
Could not find sqlite3
I am trying to get Ruby/Rails running on my mac but having some issues.
I created a new rails project "blog_test" trying to get something
working.
When I follow this guide
http://guides.rubyonrails.org/getting_started.html it says to do a
"db:create". This is where I get this error...
Could not find gem ''sqlite3 (>= 0)'' in any of the gem sources listed
2011 Dec 08
3
Problem with running "WEbrick"
Hi
After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and
connected MySQL to it ( I checked it
and it worked ) I installed rails then I create a project on
"C:\Users\Amiref\Documents\Sites\simple_cms"
with this order : "rails new simple_cms -d mysql"
then when I use "rails server" to run webrick I saw this error on
command prompt :
"rails.bat :
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2013 May 18
3
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3.
I''m careful to create separate gemsets for each project, so when I run
bundle install, it only installs gems for that gemset. This way gems
dont creep into the wrong projects. Now I just pulled a project from
github. I made sure I was in the correct gemset, and then I run bundle
install and it works fine. but then when I use rake to create the
database "rake db:create". I get
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 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there
I have a weird situation. I have inherited a project in Rails 1.2.3
that has been upgraded to Rails 2.3.14 (and is running). I have
installed Cucumber and Rspec to start to write features/tests for the
new code that needs to be written. In my Gemfile, these Gems are
loaded:
group :test do
gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2012 Aug 08
5
Error Bundler
Any body can help me!
i try create a new project, at the end i had message
error bundler.
root@xxx:/home/xxx# rails new depot_b
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
create app/assets/javascripts/application.js
create
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like
rails server Could not find pg-0.12.2 in any of the sources
Run `bundle install` to install missing gems.
I dont know what to do
Thanks for all the help
--
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
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi,
I am trying the tutorial in:
http://guides.rubyonrails.org/getting_started.html
when I try to navigate to http://localhost:3000 after the 4.3 change
I get the error : ActiveRecord::ConnectionNotEstablished
and I don''t know how to solve it
the database.yml file is:
adapter => mysql
host => 127.0.0.1
database => blog
username => root
password => *****
my
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone could help me and point me in the right direction I would be
much appreciated.
Thanks.
rake aborted!
uninitialized constant Mysql::Error
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
**
2013 Apr 27
3
where exactly are gems?
when you add a gem to the Gemfile and then run bundle install, where
does the command look for the gem? If you had "gem ''rails'', :git =>
''github.com/rails/rails.git", I assume it would update your
system .rvm gems directory with the latest github commits. But what is
the default repository that bundler looks for gems?
--
You received this message because
2010 Jun 20
7
rspec-rails 2.0.0.beta.12 showing undefined method error for route_to
First of all, I''ve been trying to find an answer for this problem all
over the internet without luck.
The thing is that I am using RVM with ruby 1.9.2-head and I created a
new empty gemset. Then I installed bundler gem with:
gem bundler install
That installed the library into the /Users/damselem/.rvm/gems/
ruby-1.9.2-head at rails3/gems directory. Then I went to my rails 3 app
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)
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
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require