Closed durrantm closed 13 years ago
Hi Michael,
Number 2 is definitely fixed in 0.2.3 of Suspenders. I was unable to re-create number 3, either.
I am seeing MySQL errors:
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
Let's use MySQL
force config/database.yml
rake db:create
(in /Users/lawless/dev/rackhabit)
rake aborted!
uninitialized constant Mysql::Error
And:
generate clearance:install
/Users/lawless/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.7/lib/active_record/connection_adapters/mysql_adapter.rb:30:in `mysql_connection': undefined method `init' for Mysql:Class (NoMethodError)
MySQL is running on my machine. Is that what you're seeing, too?
I confirmed that number 3 was fixed in 0.2.3 as well by this patch:
1) We are using Postgres now by default, with the pg
gem, so this is not an issue any more.
2) Was fixed in v0.2.3
3) Not sure, but looks like an issue with some of the templates that suspenders pulls in.
@durrantm, it's been a while so I'm going to close this issue, but if it's still a problem I'd like to hear it!
I am trying to use Suspenders. However I am getting some errors. I am getting them both locally on my own box and remotely at site5 ISP so there's probably common themes. I am on Ubuntu 10.04.
Specifically: 1) The mysql (which I use extensively) prompts for password always fail. I think in both cases the root account can't login so how to I specify a different (i.e.myself) user for the mysql piece, i.e. is there a parameter or something I should edit?
2) generator_clearance & generator_clearance _features. Not sure if related to above but in both places I get: create lib/tasks/cucumber.rake gsub config/database.yml gsub config/database.yml force config/database.yml generate clearance Could not find generator clearance. generate clearance_features Could not find generator clearance_features. create public/stylesheets/sass/screen.scss
3) Then I get:
create features/step_definitions/factory_girl_steps.rb insert features/support/env.rb /home/rormdcom/ruby/gems/gems/suspenders-0.2.2/template/suspenders.rb:22:in `replace_in_file': /require ._capybara_javascriptemulation./ not found in features/support/env.rb (RuntimeError)
Thanks, Michael.